RootVolumeConfigurationProperty Struct
Customer-facing configuration for the (service-managed) root volume.
The service provisions the root volume at its own AMI size estimate plus FreeSpaceGiB, and pins the visible free space to FreeSpaceGiB with a filler file, so the space you are guaranteed does not change as the underlying AMI grows. The device name and the delete-on-termination behavior are service-owned and are not configurable.
| Source | |
|---|---|
| Type last changed |
Example
// 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 rootVolumeConfigurationProperty: bedrockagentcore.CfnCapacityProvider.RootVolumeConfigurationProperty = {
encrypted: false,
freeSpaceGiB: 123,
iops: 123,
kmsKeyId: 'kmsKeyId',
throughput: 123,
volumeType: 'volumeType',
};
# 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
root_volume_configuration_property = bedrockagentcore.CfnCapacityProvider.RootVolumeConfigurationProperty(
encrypted=False,
free_space_gi_b=123,
iops=123,
kms_key_id="kmsKeyId",
throughput=123,
volume_type="volumeType"
)
// 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.*;
RootVolumeConfigurationProperty rootVolumeConfigurationProperty = RootVolumeConfigurationProperty.builder()
.encrypted(false)
.freeSpaceGiB(123)
.iops(123)
.kmsKeyId("kmsKeyId")
.throughput(123)
.volumeType("volumeType")
.build();
// 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 rootVolumeConfigurationProperty = new RootVolumeConfigurationProperty {
Encrypted = false,
FreeSpaceGiB = 123,
Iops = 123,
KmsKeyId = "kmsKeyId",
Throughput = 123,
VolumeType = "volumeType"
};
// 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"
rootVolumeConfigurationProperty := &RootVolumeConfigurationProperty{
Encrypted: jsii.Boolean(false),
FreeSpaceGiB: jsii.Number(123),
Iops: jsii.Number(123),
KmsKeyId: jsii.String("kmsKeyId"),
Throughput: jsii.Number(123),
VolumeType: jsii.String("volumeType"),
}
Properties
encryptedoptionalboolean | IResolvableencryptedoptionaltyping.Union[bool, IResolvable]encryptedoptionalBooleanEncryptedoptionalboolEncryptedoptionalinterface{} #Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
freeSpaceGiBoptionalnumberfree_space_gi_boptionalint | floatfreeSpaceGiBoptionalNumberFreeSpaceGiBoptionaldoubleFreeSpaceGiBoptional*float64 #notes
The service adds the operating system overhead on top of this value. Defaults to 8 GiB. The maximum is below the 65,536 GiB gp3 ceiling because the service adds the AMI size bucket on top of this value, and the resulting total must still be a provisionable gp3 volume.
Only valid for gp3, io1, and io2 volumes.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #throughputoptionalnumberthroughputoptionalint | floatthroughputoptionalNumberThroughputoptionaldoubleThroughputoptional*float64 #Valid range: 125-2000 MiB/s.
volumeTypeoptionalstringvolume_typeoptionalstrvolumeTypeoptionalStringVolumeTypeoptionalstringVolumeTypeoptional*string #Defaults to gp3 if not specified.