# VolumeConfigurationProperty

Configuration for a persistent volume attached to a capacity provider session.

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

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

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

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

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"

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

- `ebsConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCapacityProvider.EbsVolumeConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnCapacityProvider.EbsVolumeConfigurationProperty.html) (required) — Configuration for an EBS-backed persistent volume.
