Class: Aws::S3::Types::VersioningConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::VersioningConfiguration
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
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
}
Describes the versioning state of an Amazon S3 bucket. For more information, see [PUT Bucket versioning] in the *Amazon Simple Storage Service API Reference*.
[1]: docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html
Instance Attribute Summary collapse
-
#mfa_delete ⇒ String
Specifies whether MFA delete is enabled in the bucket versioning configuration.
-
#status ⇒ String
The versioning state of the bucket.
Instance Attribute Details
#mfa_delete ⇒ String
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.
12697 12698 12699 12700 12701 |
# File 'lib/aws-sdk-s3/types.rb', line 12697 class VersioningConfiguration < Struct.new( :mfa_delete, :status) include Aws::Structure end |
#status ⇒ String
The versioning state of the bucket.
12697 12698 12699 12700 12701 |
# File 'lib/aws-sdk-s3/types.rb', line 12697 class VersioningConfiguration < Struct.new( :mfa_delete, :status) include Aws::Structure end |