EbsInstanceBlockDeviceSpecification - EC2 Image Builder
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

EbsInstanceBlockDeviceSpecification

Amazon EBS-specific block device mapping specifications.

Contents

deleteOnTermination

Use to configure delete on termination of the associated device.

Type: Boolean

Required: No

encrypted

Use to configure device encryption.

Type: Boolean

Required: No

iops

Use to configure device IOPS.

Type: Integer

Valid Range: Minimum value of 100. Maximum value of 64000.

Required: No

kmsKeyId

Use to configure the KMS key to use when encrypting the device.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

snapshotId

The snapshot that defines the device contents.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

throughput

For GP3 volumes only – The throughput in MiB/s that the volume supports.

Type: Integer

Valid Range: Minimum value of 125. Maximum value of 1000.

Required: No

volumeSize

Use to override the device's volume size.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 16000.

Required: No

volumeType

Use to override the device's volume type.

Type: String

Valid Values: standard | io1 | io2 | gp2 | gp3 | sc1 | st1

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: