BucketVersioning

data class BucketVersioning(val enabled: Boolean? = null, val mfaDelete: Boolean? = null)

Constructors

Link copied to clipboard
constructor(enabled: Boolean? = null, mfaDelete: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val enabled: Boolean? = null

Enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket.

Link copied to clipboard
val mfaDelete: Boolean? = null

Enable MFA delete for either Change the versioning state of your bucket or Permanently delete an object version. Default is false. This cannot be used to toggle this setting but is available to allow managed buckets to reflect the state in AWS