AmiImageVolumeChanges Object

Description

Represents changes to the EBS volumes when creating an AMI image.

Properties

changeIops

Indicates to change the IOPS value of the EBS volumes. Only applies to provisioned IOPS volume types.

Type: integer

Required: No

changeIsDeleteOnTerminate

Indicates whether to change the "delete on terminate" flag for the volume.

Type: boolean

Required: No

changeVolumeType

Indicates to change the type of EBS volume.

Type: string

Valid Values:

  • magnetic

  • ssd-gp2

  • ssd-gp3

  • provisioned-iops

  • throughput-optimized

  • cold

Required: No

volumesToInclude

Indicates the volumes to include in the AMI image.

Type: string

Valid Values:

  • all

  • root-volume-only

Required: No

Default: all

Sample JSON

{
    "volumesToInclude": "all",
    "changeIsDeleteOnTerminate": true
}

Last updated