aws-cdk-lib.aws_imagebuilder.CfnImageRecipe.InstanceBlockDeviceMappingProperty

interface InstanceBlockDeviceMappingProperty

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

Defines block device mappings for the instance used to configure your 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 instanceBlockDeviceMappingProperty: imagebuilder.CfnImageRecipe.InstanceBlockDeviceMappingProperty = {
  deviceName: 'deviceName',
  ebs: {
    deleteOnTermination: false,
    encrypted: false,
    iops: 123,
    kmsKeyId: 'kmsKeyId',
    snapshotId: 'snapshotId',
    throughput: 123,
    volumeSize: 123,
    volumeType: 'volumeType',
  },
  noDevice: 'noDevice',
  virtualName: 'virtualName',
};

Properties

NameTypeDescription
deviceName?stringThe device to which these mappings apply.
ebs?IResolvable | EbsInstanceBlockDeviceSpecificationPropertyUse to manage Amazon EBS-specific configuration for this mapping.
noDevice?stringEnter an empty string to remove a mapping from the parent image.
virtualName?stringManages the instance ephemeral devices.

deviceName?

Type: string (optional)

The device to which these mappings apply.


ebs?

Type: IResolvable | EbsInstanceBlockDeviceSpecificationProperty (optional)

Use to manage Amazon EBS-specific configuration for this mapping.


noDevice?

Type: string (optional)

Enter an empty string to remove a mapping from the parent image.

The following is an example of an empty string value in the NoDevice field.

NoDevice:""


virtualName?

Type: string (optional)

Manages the instance ephemeral devices.