Skip to content
v2.274.0

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.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 ​

deviceNameoptionalstringdevice_nameoptionalstrdeviceNameoptionalStringDeviceNameoptionalstringDeviceNameoptional*string#
The device to which these mappings apply.
Use to manage Amazon EBS-specific configuration for this mapping.
noDeviceoptionalstringno_deviceoptionalstrnoDeviceoptionalStringNoDeviceoptionalstringNoDeviceoptional*string#
Use to remove a mapping from the base image.
virtualNameoptionalstringvirtual_nameoptionalstrvirtualNameoptionalStringVirtualNameoptionalstringVirtualNameoptional*string#
Use to manage instance ephemeral devices.