BucketObjectLockConfigurationArgs class

The set of arguments for BucketObjectLockConfiguration. The set of arguments for BucketObjectLockConfiguration.

Constructors

BucketObjectLockConfigurationArgs({required Input<String> bucket, Input<String?>? expectedBucketOwner, Input<String?>? objectLockEnabled, Input<String?>? region, Input<BucketObjectLockConfigurationRule?>? rule, Input<String?>? token})
Creates a new BucketObjectLockConfigurationArgs. bucket Name of the bucket. expectedBucketOwner Account ID of the expected bucket owner. objectLockEnabled Whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. rule Configuration block for specifying the Object Lock rule for the specified object. See below. token Token to allow Object Lock to be enabled for an existing bucket. To enable Object Lock for an existing bucket, you must first enable versioning on the bucket and then enable Object Lock. For more details on versioning, see the aws.s3.BucketVersioning resource.
const
BucketObjectLockConfigurationArgs.fromMap(Map<String, dynamic> map)
factory

Properties

bucket → Input<String>
Name of the bucket.
final
expectedBucketOwner → Input<String?>?
Account ID of the expected bucket owner.
final
hashCode → int
The hash code for this object.
no setterinherited
objectLockEnabled → Input<String?>?
Whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
rule → Input<BucketObjectLockConfigurationRule?>?
Configuration block for specifying the Object Lock rule for the specified object. See below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → Input<String?>?
Token to allow Object Lock to be enabled for an existing bucket. To enable Object Lock for an existing bucket, you must first enable versioning on the bucket and then enable Object Lock. For more details on versioning, see the aws.s3.BucketVersioning resource.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited