Skip to content

S3  >  Structures  >  VersioningConfiguration

VersioningConfiguration

Structure Class

VersioningConfiguration dataclass

Bases: _SerdeShape

Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning in the Amazon S3 API Reference.

Attributes

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

Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.

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

The versioning state of the bucket.