BucketV2VersioningArgs

data class BucketV2VersioningArgs(val enabled: Output<Boolean>? = null, val mfaDelete: Output<Boolean>? = null) : ConvertibleToJava<BucketV2VersioningArgs>

Constructors

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

Properties

Link copied to clipboard
val enabled: Output<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: Output<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

Functions

Link copied to clipboard
open override fun toJava(): BucketV2VersioningArgs