BucketV2ObjectLockConfiguration constructor

const BucketV2ObjectLockConfiguration({
  1. Input<String?>? objectLockEnabled,
  2. Input<List<BucketV2ObjectLockConfigurationRule>?>? rules,
})

Creates a new BucketV2ObjectLockConfiguration. objectLockEnabled Whether this bucket has an Object Lock configuration enabled. Valid value is Enabled. Use the top-level argument objectLockEnabled instead. rules Object Lock rule in place for this bucket. See object_lock_configuration.rule Block below for details.

Implementation

const BucketV2ObjectLockConfiguration({
  this.objectLockEnabled,
  this.rules,
});