Skip to content
v2.275.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',
};

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.