Skip to content

S3  >  Structures  >  ReplicationConfiguration

ReplicationConfiguration

Structure Class

ReplicationConfiguration dataclass

Bases: _SerdeShape

A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.

Attributes

role instance-attribute
role: str

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects. For more information, see How to Set Up Replication in the Amazon S3 User Guide.

rules instance-attribute

A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.