`. | object({
name = string
acl = optional(string, "private")
key = optional(string, null)
notification_events = optional(list(string), [
"s3:ObjectCreated:*",
"s3:ObjectRemoved:*"
])
policy = optional(string, null)
replicas = optional(number, 1)
})
| n/a | yes |
| [replication\_role](#input\_replication\_role) | ARN of the replication role. This role will have a policy attached to it that will enabled s3 replication. The service principal in the trust relationship must be `s3.amazonaws.com`. The `s3_replicator` key of the IAM module `service_roles` output can be passed directly into this argument. | object({
arn = string
id = string
name = string
})
| {
"arn": "arn:aws:iam:::role/s3-replicator",
"id": "s3-replicator",
"name": "s3-replicator"
}
| no |
## Outputs
| Name | Description |
|------|-------------|
| [bucket](#output\_bucket) | Map containing metadata for the source S3 bucket and its replicas. The smallest index/key of the map will always be the source bucket, the next largest will be the logging bucket and the rest will be replicas of the source bucket. |