ModifyImageAttributeRequest

Contains the parameters for ModifyImageAttribute.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The name of the attribute to modify.

Link copied to clipboard

A new description for the AMI.

Link copied to clipboard

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Link copied to clipboard

The ID of the AMI.

Link copied to clipboard

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens automatically set to required so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit is set to 2. For more information, see Configure the AMI in the Amazon EC2 User Guide.

Link copied to clipboard

A new launch permission for the AMI.

Link copied to clipboard

The operation type. This parameter can be used only when the Attribute parameter is launchPermission.

Link copied to clipboard

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the Attribute parameter is launchPermission.

Link copied to clipboard

The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the Attribute parameter is launchPermission.

Link copied to clipboard

Not supported.

Link copied to clipboard

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Link copied to clipboard

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Link copied to clipboard

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description or imdsSupport.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String