class Aws::S3::Types::VersioningConfiguration

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

[1]: docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html

@note When making an API call, you may pass VersioningConfiguration

data as a hash:

    {
      mfa_delete: "Enabled", # accepts Enabled, Disabled
      status: "Enabled", # accepts Enabled, Suspended
    }

@!attribute [rw] mfa_delete

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.
@return [String]

@!attribute [rw] status

The versioning state of the bucket.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/VersioningConfiguration AWS API Documentation

Constants

SENSITIVE