Skip to content

S3  >  Structures  >  InventoryS3BucketDestination

InventoryS3BucketDestination

Structure Class

InventoryS3BucketDestination dataclass

Bases: _SerdeShape

Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where S3 Inventory results are published.

Attributes

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

The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

Note

Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

bucket instance-attribute
bucket: str

The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

encryption class-attribute instance-attribute
encryption: InventoryEncryption | None = ...

Contains the type of server-side encryption used to encrypt the inventory results.

format instance-attribute
format: str

Specifies the output format of the inventory results.

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

The prefix that is prepended to all inventory results.