Skip to content
v2.278.0

EphemeralBlockDeviceMappingProperty Struct ​

Describes an ephemeral block device mapping.

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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore

ephemeral_block_device_mapping_property = bedrockagentcore.CfnCapacityProvider.EphemeralBlockDeviceMappingProperty(
    device_name="deviceName",
    ebs=bedrockagentcore.CfnCapacityProvider.EphemeralEBSVolumeConfigurationProperty(
        ebs_card_index=123,
        encrypted=False,
        iops=123,
        kms_key_id="kmsKeyId",
        snapshot_id="snapshotId",
        throughput=123,
        volume_initialization_rate=123,
        volume_size=123,
        volume_type="volumeType"
    ),
    virtual_name="virtualName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;

EphemeralBlockDeviceMappingProperty ephemeralBlockDeviceMappingProperty = EphemeralBlockDeviceMappingProperty.builder()
        .deviceName("deviceName")
        .ebs(EphemeralEBSVolumeConfigurationProperty.builder()
                .ebsCardIndex(123)
                .encrypted(false)
                .iops(123)
                .kmsKeyId("kmsKeyId")
                .snapshotId("snapshotId")
                .throughput(123)
                .volumeInitializationRate(123)
                .volumeSize(123)
                .volumeType("volumeType")
                .build())
        .virtualName("virtualName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;

var ephemeralBlockDeviceMappingProperty = new EphemeralBlockDeviceMappingProperty {
    DeviceName = "deviceName",
    Ebs = new EphemeralEBSVolumeConfigurationProperty {
        EbsCardIndex = 123,
        Encrypted = false,
        Iops = 123,
        KmsKeyId = "kmsKeyId",
        SnapshotId = "snapshotId",
        Throughput = 123,
        VolumeInitializationRate = 123,
        VolumeSize = 123,
        VolumeType = "volumeType"
    },
    VirtualName = "virtualName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

ephemeralBlockDeviceMappingProperty := &EphemeralBlockDeviceMappingProperty{
	DeviceName: jsii.String("deviceName"),
	Ebs: &EphemeralEBSVolumeConfigurationProperty{
		EbsCardIndex: jsii.Number(123),
		Encrypted: jsii.Boolean(false),
		Iops: jsii.Number(123),
		KmsKeyId: jsii.String("kmsKeyId"),
		SnapshotId: jsii.String("snapshotId"),
		Throughput: jsii.Number(123),
		VolumeInitializationRate: jsii.Number(123),
		VolumeSize: jsii.Number(123),
		VolumeType: jsii.String("volumeType"),
	},
	VirtualName: jsii.String("virtualName"),
}

Properties ​

deviceNameoptionalstringdevice_nameoptionalstrdeviceNameoptionalStringDeviceNameoptionalstringDeviceNameoptional*string #
The device name (for example, /dev/sdh or xvdh).
Parameters used to automatically set up EBS volumes when the instance is launched.
virtualNameoptionalstringvirtual_nameoptionalstrvirtualNameoptionalStringVirtualNameoptionalstringVirtualNameoptional*string #
The virtual device name (ephemeralN).