BucketReplicationConfigArgs constructor

const BucketReplicationConfigArgs({
  1. required Input<String> bucket,
  2. Input<String?>? region,
  3. required Input<String> role,
  4. required Input<List<BucketReplicationConfigRule>> rules,
  5. Input<String?>? token,
})

Creates a new BucketReplicationConfigArgs. bucket Name of the source S3 bucket you want Amazon S3 to monitor. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. role ARN of the IAM role for Amazon S3 to assume when replicating the objects. rules List of configuration blocks describing the rules managing the replication. See below. token Token to allow replication to be enabled on an Object Lock-enabled bucket. You must contact AWS support for the bucket's "Object Lock token". For more details, see Using S3 Object Lock with replication.

Implementation

const BucketReplicationConfigArgs({
  required this.bucket,
  this.region,
  required this.role,
  required this.rules,
  this.token,
});