class Aws::EC2::Types::CreateImageRequest
@see docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageRequest AWS API Documentation
@return [Array<Types::TagSpecification>]<br>: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html<br><br><br><br>[CreateTags][1].
To tag an AMI or snapshot after it has been created, see
If you specify other values for ‘ResourceType`, the request fails.
applied to all of the snapshots that are created.
value for `ResourceType` must be `snapshot`. The same tag is
other Amazon EBS volumes that are attached to the instance, the
* To tag the snapshots that are created of the root volume and of
* To tag the AMI, the value for `ResourceType` must be `image`.
the AMI, the snapshots, or both.
The tags to apply to the AMI and snapshots on creation. You can tag
@!attribute [rw] tag_specifications
@return [Boolean]
Default: `false`
the volumes before the snapshots are created.
ensures that all buffered data and data in memory is written to
* `false` - The instance is rebooted before creating the image. This
written to the volumes is not included in the snapshots.
created. Buffered data and data in memory that has not yet been
that has been written to the volumes at the time the snapshots are
This creates crash-consistent snapshots that include only the data
* `true` - The instance is not rebooted before creating the image.
values:
rebooted before creating the image. Specify one of the following
Indicates whether or not the instance should be automatically
@!attribute [rw] no_reboot
@return [String]
single quotes (’), at-signs (@), or underscores(_)
brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-),
Constraints: 3-128 alphanumeric characters, parentheses (()), square
A name for the new image.
@!attribute [rw] name
@return [String]
The ID of the instance.
@!attribute [rw] instance_id
@return [Boolean]
‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
If you have the required permissions, the error response is
without actually making the request, and provides an error response.
Checks whether you have the required permissions for the action,
@!attribute [rw] dry_run
@return [String]
A description for the new image.
@!attribute [rw] description
@return [Array<Types::BlockDeviceMapping>]
snapshots is `DeleteOnTermination`.
* The only option that can be changed for existing mappings or
encrypted volumes or snapshots), use the CopyImage action.
and snapshots are unencrypted, and you want to create an AMI with
different encryption status (for example, where the source volume
snapshots. To create an AMI with volumes or snapshots that have a
* You can’t modify the encryption status of existing volumes or
volume size of the source instance.
If you want a different volume size, you must first change the
* You can’t change the volume size using the VolumeSize parameter.
When using the CreateImage action:
The block device mappings.
@!attribute [rw] block_device_mappings