S3BucketMountConfiguration
Mounts an Amazon S3 bucket in the AgentCore Runtime with Mountpoint for Amazon S3. Files under the mount path map to objects in the bucket.
Contents
- bucket
-
The name of the S3 bucket to mount. You can specify a general purpose bucket or a directory bucket.
Type: String
Length Constraints: Minimum length of 3. Maximum length of 63.
Required: Yes
- mountPath
-
The mount path for the S3 bucket inside the AgentCore Runtime. The path must be under
/mntwith exactly one subdirectory level (for example,/mnt/data).Type: String
Length Constraints: Minimum length of 6. Maximum length of 200.
Pattern:
/mnt/[a-zA-Z0-9._-]+/?Required: Yes
- prefix
-
The key prefix to mount. Only objects under this prefix are visible at the mount path. To give each session its own prefix, include
{runtimeSessionId}(for example,data/{runtimeSessionId}/). If you omit the prefix, the whole bucket is mounted.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
[a-zA-Z0-9{][a-zA-Z0-9!_.*'()/{}-]*Required: No
- s3BucketOwner
-
The AWS account ID that must own the bucket. If you omit it, the bucket must be owned by the account that owns the AgentCore Runtime.
Type: String
Pattern:
[0-9]{12}Required: No
- s3BucketRegion
-
The AWS Region of the S3 bucket. If you omit it, the bucket must be in the same Region as the AgentCore Runtime.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern:
([a-z]+-){2,3}\d+Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: