Skip to content

S3  >  Structures  >  Bucket

Bucket

Structure Class

Bucket dataclass

Bases: _SerdeShape

In terms of implementation, a Bucket is a resource.

Attributes

bucket_arn class-attribute instance-attribute
bucket_arn: str | None = ...

The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.

Note

This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.

bucket_region class-attribute instance-attribute
bucket_region: str | None = ...

BucketRegion indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.

creation_date class-attribute instance-attribute
creation_date: datetime | None = ...

Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.

name class-attribute instance-attribute
name: str | None = ...

The name of the bucket.