Skip to content

Bedrock Agentcore Control  >  Structures  >  S3Location

S3Location

Structure Class

S3Location dataclass

The Amazon S3 location for storing data. This structure defines where in Amazon S3 data is stored.

Attributes

bucket instance-attribute
bucket: str

The name of the Amazon S3 bucket. This bucket contains the stored data.

prefix instance-attribute
prefix: str

The prefix for objects in the Amazon S3 bucket. This prefix is added to the object keys to organize the data.

version_id class-attribute instance-attribute
version_id: str | None = None

The version ID of the Amazon Amazon S3 object. If not specified, the latest version of the object is used.