Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ReplicationConfiguration = ReplicationConfiguration' {
- role' :: Text
- rules :: [ReplicationRule]
- newReplicationConfiguration :: Text -> ReplicationConfiguration
- replicationConfiguration_role :: Lens' ReplicationConfiguration Text
- replicationConfiguration_rules :: Lens' ReplicationConfiguration [ReplicationRule]
Documentation
data ReplicationConfiguration Source #
A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
See: newReplicationConfiguration
smart constructor.
ReplicationConfiguration' | |
|
Instances
newReplicationConfiguration Source #
Create a value of ReplicationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:role':ReplicationConfiguration'
, replicationConfiguration_role
- 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.
$sel:rules:ReplicationConfiguration'
, replicationConfiguration_rules
- 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.
replicationConfiguration_role :: Lens' ReplicationConfiguration Text Source #
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.
replicationConfiguration_rules :: Lens' ReplicationConfiguration [ReplicationRule] Source #
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.