Class BucketV2VersioningArgs


  • public final class BucketV2VersioningArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • enabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enabled()
        Returns:
        Enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket.
      • mfaDelete

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> mfaDelete()
        Returns:
        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