# InstanceBlockDeviceMappingProperty

Defines block device mappings for the instance used to configure your image.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `deviceName`: string — The device to which these mappings apply.

- `ebs`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_imagebuilder.CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.html) — Use to manage Amazon EBS-specific configuration for this mapping.

- `noDevice`: string — Use to remove a mapping from the base image.

- `virtualName`: string — Use to manage instance ephemeral devices.
