Skip to content

S3  >  Structures  >  LocationInfo

LocationInfo

Structure Class

LocationInfo dataclass

Bases: _SerdeShape

Specifies the location where the bucket will be created.

For directory buckets, the location type is Availability Zone or Local Zone. For more information about directory buckets, see Working with directory buckets in the Amazon S3 User Guide.

Note

This functionality is only supported by directory buckets.

Attributes

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

The name of the location where the bucket will be created.

For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where the bucket will be created. An example AZ ID value is usw2-az1.

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

The type of location where the bucket will be created.