# RootVolumeConfigurationProperty

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: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `encrypted`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — 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.

- `freeSpaceGiB`: number — The free space guaranteed on the root volume, in GiB.

  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.

- `iops`: number — The number of IOPS to provision.

  Only valid for gp3, io1, and io2 volumes.

- `kmsKeyId`: string — Identifier of the customer managed KMS key to use for EBS encryption.

- `throughput`: number — The throughput to provision for a gp3 volume, in MiB/s.

  Valid range: 125-2000 MiB/s.

- `volumeType`: string — The EBS volume type.

  Defaults to gp3 if not specified.
