VolumeConfigurationProperty Struct
Configuration for a persistent volume attached to a capacity provider session.
| Source | |
|---|---|
| Type last changed |
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 volumeConfigurationProperty: bedrockagentcore.CfnCapacityProvider.VolumeConfigurationProperty = {
ebsConfiguration: {
name: 'name',
sizeGiB: 123,
// the properties below are optional
encrypted: false,
iops: 123,
kmsKeyId: 'kmsKeyId',
snapshotId: 'snapshotId',
throughput: 123,
volumeType: 'volumeType',
},
};
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
volume_configuration_property = bedrockagentcore.CfnCapacityProvider.VolumeConfigurationProperty(
ebs_configuration=bedrockagentcore.CfnCapacityProvider.EbsVolumeConfigurationProperty(
name="name",
size_gi_b=123,
# the properties below are optional
encrypted=False,
iops=123,
kms_key_id="kmsKeyId",
snapshot_id="snapshotId",
throughput=123,
volume_type="volumeType"
)
)
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.*;
VolumeConfigurationProperty volumeConfigurationProperty = VolumeConfigurationProperty.builder()
.ebsConfiguration(EbsVolumeConfigurationProperty.builder()
.name("name")
.sizeGiB(123)
// the properties below are optional
.encrypted(false)
.iops(123)
.kmsKeyId("kmsKeyId")
.snapshotId("snapshotId")
.throughput(123)
.volumeType("volumeType")
.build())
.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 volumeConfigurationProperty = new VolumeConfigurationProperty {
EbsConfiguration = new EbsVolumeConfigurationProperty {
Name = "name",
SizeGiB = 123,
// the properties below are optional
Encrypted = false,
Iops = 123,
KmsKeyId = "kmsKeyId",
SnapshotId = "snapshotId",
Throughput = 123,
VolumeType = "volumeType"
}
};
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"
volumeConfigurationProperty := &VolumeConfigurationProperty{
EbsConfiguration: &EbsVolumeConfigurationProperty{
Name: jsii.String("name"),
SizeGiB: jsii.Number(123),
// the properties below are optional
Encrypted: jsii.Boolean(false),
Iops: jsii.Number(123),
KmsKeyId: jsii.String("kmsKeyId"),
SnapshotId: jsii.String("snapshotId"),
Throughput: jsii.Number(123),
VolumeType: jsii.String("volumeType"),
},
}
Properties
ebsConfigurationIResolvable | CfnCapacityProvider.ebs_configurationtyping.Union[IResolvable, EbsVolumeConfigurationProperty]ebsConfigurationIResolvableEbsConfigurationIResolvableEbsConfigurationinterface{} required #Configuration for an EBS-backed persistent volume.