AWS::ImageBuilder::ImageRecipe EbsInstanceBlockDeviceSpecification - AWS CloudFormation

AWS::ImageBuilder::ImageRecipe EbsInstanceBlockDeviceSpecification

The image recipe EBS instance block device specification includes the Amazon EBS-specific block device mapping specifications for the image.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "DeleteOnTermination" : Boolean, "Encrypted" : Boolean, "Iops" : Integer, "KmsKeyId" : String, "SnapshotId" : String, "Throughput" : Integer, "VolumeSize" : Integer, "VolumeType" : String }

YAML

DeleteOnTermination: Boolean Encrypted: Boolean Iops: Integer KmsKeyId: String SnapshotId: String Throughput: Integer VolumeSize: Integer VolumeType: String

Properties

DeleteOnTermination

Configures delete on termination of the associated device.

Required: No

Type: Boolean

Update requires: Replacement

Encrypted

Use to configure device encryption.

Required: No

Type: Boolean

Update requires: Replacement

Iops

Use to configure device IOPS.

Required: No

Type: Integer

Minimum: 100

Maximum: 64000

Update requires: Replacement

KmsKeyId

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

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: Replacement

SnapshotId

The snapshot that defines the device contents.

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: Replacement

Throughput

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

Required: No

Type: Integer

Minimum: 125

Maximum: 1000

Update requires: Replacement

VolumeSize

Overrides the volume size of the device.

Required: No

Type: Integer

Minimum: 1

Maximum: 16000

Update requires: Replacement

VolumeType

Overrides the volume type of the device.

Required: No

Type: String

Allowed values: standard | io1 | io2 | gp2 | gp3 | sc1 | st1

Update requires: Replacement