Skip to content
v2.278.0

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.

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 rootVolumeConfigurationProperty: bedrockagentcore.CfnCapacityProvider.RootVolumeConfigurationProperty = {
  encrypted: false,
  freeSpaceGiB: 123,
  iops: 123,
  kmsKeyId: 'kmsKeyId',
  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

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"
)
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.*;

RootVolumeConfigurationProperty rootVolumeConfigurationProperty = RootVolumeConfigurationProperty.builder()
        .encrypted(false)
        .freeSpaceGiB(123)
        .iops(123)
        .kmsKeyId("kmsKeyId")
        .throughput(123)
        .volumeType("volumeType")
        .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 rootVolumeConfigurationProperty = new RootVolumeConfigurationProperty {
    Encrypted = false,
    FreeSpaceGiB = 123,
    Iops = 123,
    KmsKeyId = "kmsKeyId",
    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"

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{} #
Indicates whether the EBS volume is encrypted.

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 #
The free space guaranteed on the root volume, in GiB.
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.

iopsoptionalnumberiopsoptionalint | floatiopsoptionalNumberIopsoptionaldoubleIopsoptional*float64 #
The number of IOPS to provision.

Only valid for gp3, io1, and io2 volumes.

kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #
Identifier of the customer managed KMS key to use for EBS encryption.
throughputoptionalnumberthroughputoptionalint | floatthroughputoptionalNumberThroughputoptionaldoubleThroughputoptional*float64 #
The throughput to provision for a gp3 volume, in MiB/s.

Valid range: 125-2000 MiB/s.

volumeTypeoptionalstringvolume_typeoptionalstrvolumeTypeoptionalStringVolumeTypeoptionalstringVolumeTypeoptional*string #
The EBS volume type.

Defaults to gp3 if not specified.