You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support S3 bucket mounts (s3BucketMount) on runtimes #2898
AgentCore Runtime can mount an S3 bucket, or one prefix in it, as a directory in each session with Mountpoint for Amazon S3 (s3BucketMount in filesystemConfigurations, platform version V2). The CLI has no way to set it: the project schema rejects an s3BucketMount entry, so the only way to use it today is a custom CDK override.
Acceptance Criteria
A runtime in agentcore/agentcore.json accepts an s3BucketMount entry in filesystemConfigurations (bucket, mountPath, optional prefix, s3BucketOwner, s3BucketRegion), with basic shape checks (the full rules are enforced in @aws/agentcore-cdk at synth), and requires platformVersion: V2.
agentcore add runtime --filesystem-configurations accepts the same entry.
The CDK app passes it through as S3BucketMount on the generated Runtime resource, and the execution role it creates gets read-write S3 access scoped to the bucket and prefix (plus s3express:CreateSession for directory buckets). Imported roles get no grant.
Activity
jariy17 commentedon Nov 25, 2026
Shipped in v1.3.0: https://github.com/aws/agentcore-cli/releases/tag/v1.3.0 (CLI) and https://github.com/aws/agentcore-l3-cdk-constructs/releases/tag/v1.3.0 (CDK).