aws-cdk-lib.aws_imagebuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty

interface EbsInstanceBlockDeviceSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.ImageBuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnImageRecipe_EbsInstanceBlockDeviceSpecificationProperty
Javasoftware.amazon.awscdk.services.imagebuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty
Pythonaws_cdk.aws_imagebuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty
TypeScript aws-cdk-lib » aws_imagebuilder » CfnImageRecipe » EbsInstanceBlockDeviceSpecificationProperty

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

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const ebsInstanceBlockDeviceSpecificationProperty: imagebuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty = {
  deleteOnTermination: false,
  encrypted: false,
  iops: 123,
  kmsKeyId: 'kmsKeyId',
  snapshotId: 'snapshotId',
  throughput: 123,
  volumeSize: 123,
  volumeType: 'volumeType',
};

Properties

NameTypeDescription
deleteOnTermination?boolean | IResolvableConfigures delete on termination of the associated device.
encrypted?boolean | IResolvableUse to configure device encryption.
iops?numberUse to configure device IOPS.
kmsKeyId?stringUse to configure the KMS key to use when encrypting the device.
snapshotId?stringThe snapshot that defines the device contents.
throughput?numberFor GP3 volumes only – The throughput in MiB/s that the volume supports.
volumeSize?numberOverrides the volume size of the device.
volumeType?stringOverrides the volume type of the device.

deleteOnTermination?

Type: boolean | IResolvable (optional)

Configures delete on termination of the associated device.


encrypted?

Type: boolean | IResolvable (optional)

Use to configure device encryption.


iops?

Type: number (optional)

Use to configure device IOPS.


kmsKeyId?

Type: string (optional)

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


snapshotId?

Type: string (optional)

The snapshot that defines the device contents.


throughput?

Type: number (optional)

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


volumeSize?

Type: number (optional)

Overrides the volume size of the device.


volumeType?

Type: string (optional)

Overrides the volume type of the device.