aws-cdk-lib.aws_imagebuilder.CfnContainerRecipe.InstanceBlockDeviceMappingProperty

interface InstanceBlockDeviceMappingProperty

LanguageType name
.NETAmazon.CDK.AWS.ImageBuilder.CfnContainerRecipe.InstanceBlockDeviceMappingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnContainerRecipe_InstanceBlockDeviceMappingProperty
Javasoftware.amazon.awscdk.services.imagebuilder.CfnContainerRecipe.InstanceBlockDeviceMappingProperty
Pythonaws_cdk.aws_imagebuilder.CfnContainerRecipe.InstanceBlockDeviceMappingProperty
TypeScript aws-cdk-lib » aws_imagebuilder » CfnContainerRecipe » 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.CfnContainerRecipe.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?stringUse to remove a mapping from the base image.
virtualName?stringUse to manage 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)

Use to remove a mapping from the base image.


virtualName?

Type: string (optional)

Use to manage instance ephemeral devices.