You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3::Types::VersioningConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing VersioningConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#mfa_deleteString

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.

Possible values:

  • Enabled
  • Disabled

Returns:

  • (String)

    Specifies whether MFA delete is enabled in the bucket versioning configuration.

#statusString

The versioning state of the bucket.

Possible values:

  • Enabled
  • Suspended

Returns:

  • (String)

    The versioning state of the bucket.