InstanceBlockDeviceMappingProperty Struct
Defines block device mappings for the instance used to configure your image.
Example
ts
// 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
deviceNameoptionalstringdevice_nameoptionalstrdeviceNameoptionalStringDeviceNameoptionalstringDeviceNameoptional*string#The device to which these mappings apply.
ebsoptionalIResolvable | CfnImageRecipe.EbsInstanceBlockDeviceSpecificationPropertyebsoptionaltyping.Union[IResolvable, EbsInstanceBlockDeviceSpecificationProperty]ebsoptionalIResolvableEbsoptionalIResolvableEbsoptionalinterface{}#Use to manage Amazon EBS-specific configuration for this mapping.
noDeviceoptionalstringno_deviceoptionalstrnoDeviceoptionalStringNoDeviceoptionalstringNoDeviceoptional*string#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:""
virtualNameoptionalstringvirtual_nameoptionalstrvirtualNameoptionalStringVirtualNameoptionalstringVirtualNameoptional*string#Manages the instance ephemeral devices.