BucketObjectLockConfiguration constructor

const BucketObjectLockConfiguration({
  1. Input<String?>? objectLockEnabled,
  2. Input<BucketObjectLockConfigurationRule?>? rule,
})

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

Implementation

const BucketObjectLockConfiguration({
  this.objectLockEnabled,
  this.rule,
});