# EphemeralBlockDeviceMappingProperty

Describes an ephemeral block device mapping.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const ephemeralBlockDeviceMappingProperty: bedrockagentcore.CfnCapacityProvider.EphemeralBlockDeviceMappingProperty = {
  deviceName: 'deviceName',
  ebs: {
    ebsCardIndex: 123,
    encrypted: false,
    iops: 123,
    kmsKeyId: 'kmsKeyId',
    snapshotId: 'snapshotId',
    throughput: 123,
    volumeInitializationRate: 123,
    volumeSize: 123,
    volumeType: 'volumeType',
  },
  virtualName: 'virtualName',
};
```

## Properties

- `deviceName`: string — The device name (for example, /dev/sdh or xvdh).

- `ebs`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCapacityProvider.EphemeralEBSVolumeConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnCapacityProvider.EphemeralEBSVolumeConfigurationProperty.html) — Parameters used to automatically set up EBS volumes when the instance is launched.

- `virtualName`: string — The virtual device name (ephemeralN).
