libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.Types.ReplicationConfiguration

Description

 
Synopsis

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.

Constructors

ReplicationConfiguration' 

Fields

  • role' :: Text

    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 :: [ReplicationRule]

    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.

Instances

Instances details
Eq ReplicationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationConfiguration

Read ReplicationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationConfiguration

Show ReplicationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationConfiguration

Generic ReplicationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationConfiguration

Associated Types

type Rep ReplicationConfiguration :: Type -> Type #

NFData ReplicationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationConfiguration

Hashable ReplicationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationConfiguration

FromXML ReplicationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationConfiguration

ToXML ReplicationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationConfiguration

type Rep ReplicationConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationConfiguration

type Rep ReplicationConfiguration = D1 ('MetaData "ReplicationConfiguration" "Amazonka.S3.Types.ReplicationConfiguration" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "ReplicationConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ReplicationRule])))

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.