View a markdown version of this page

EbsVolumeConfiguration - Amazon Bedrock AgentCore Control Plane

EbsVolumeConfiguration

The configuration for an Amazon EBS-backed persistent volume that retains data across agent runtime restarts. To remove the volume, delete the session.

Contents

name

The logical name of the volume. Use this name to reference the volume when you mount it into an agent runtime.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 48.

Pattern: [a-zA-Z][a-zA-Z0-9_-]{0,47}

Required: Yes

sizeGiB

The size of the volume, in GiB.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 65536.

Required: Yes

encrypted

Specifies whether to encrypt the volume. If true, the service encrypts the volume with the AWS KMS key that you specify in kmsKeyId, or the default AWS KMS key for Amazon EBS if you do not specify one. The default is true.

Type: Boolean

Required: No

iops

The number of IOPS to provision. Valid only for gp3, io1, and io2 volumes.

Type: Integer

Valid Range: Minimum value of 100. Maximum value of 256000.

Required: No

kmsKeyId

The identifier of the AWS KMS key to use for encryption.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern: arn:aws(-[^:]+)?:kms:[a-z0-9-]+:[0-9]{12}:key/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

Required: No

snapshotId

An optional Amazon EBS snapshot ID. If provided, the volume is initialized from this snapshot the first time it is created. On subsequent restarts, the existing volume is used and the snapshot is ignored.

Type: String

Length Constraints: Minimum length of 13. Maximum length of 64.

Pattern: snap-[a-f0-9]{8,17}

Required: No

throughput

The throughput, in MiB/s. Valid only for gp3 volumes.

Type: Integer

Valid Range: Minimum value of 125. Maximum value of 2000.

Required: No

volumeType

The Amazon EBS volume type. If you do not specify a type, the default is gp3.

Type: String

Valid Values: standard | io1 | io2 | gp2 | sc1 | st1 | gp3

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: