libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.Types.ReplicationDetails

Description

 
Synopsis

Documentation

data ReplicationDetails Source #

Provides information about settings that define whether one or more objects in an S3 bucket are replicated to S3 buckets for other Amazon Web Services accounts and, if so, which accounts.

See: newReplicationDetails smart constructor.

Constructors

ReplicationDetails' 

Fields

  • replicated :: Maybe Bool

    Specifies whether the bucket is configured to replicate one or more objects to any destination.

  • replicationAccounts :: Maybe [Text]

    An array of Amazon Web Services account IDs, one for each Amazon Web Services account that the bucket is configured to replicate one or more objects to.

  • replicatedExternally :: Maybe Bool

    Specifies whether the bucket is configured to replicate one or more objects to an Amazon Web Services account that isn't part of the same Amazon Macie organization.

Instances

Instances details
Eq ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

Read ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

Show ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

Generic ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

Associated Types

type Rep ReplicationDetails :: Type -> Type #

NFData ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

Methods

rnf :: ReplicationDetails -> () #

Hashable ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

FromJSON ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

type Rep ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

type Rep ReplicationDetails = D1 ('MetaData "ReplicationDetails" "Amazonka.MacieV2.Types.ReplicationDetails" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "ReplicationDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "replicationAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "replicatedExternally") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newReplicationDetails :: ReplicationDetails Source #

Create a value of ReplicationDetails 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:replicated:ReplicationDetails', replicationDetails_replicated - Specifies whether the bucket is configured to replicate one or more objects to any destination.

$sel:replicationAccounts:ReplicationDetails', replicationDetails_replicationAccounts - An array of Amazon Web Services account IDs, one for each Amazon Web Services account that the bucket is configured to replicate one or more objects to.

$sel:replicatedExternally:ReplicationDetails', replicationDetails_replicatedExternally - Specifies whether the bucket is configured to replicate one or more objects to an Amazon Web Services account that isn't part of the same Amazon Macie organization.

replicationDetails_replicated :: Lens' ReplicationDetails (Maybe Bool) Source #

Specifies whether the bucket is configured to replicate one or more objects to any destination.

replicationDetails_replicationAccounts :: Lens' ReplicationDetails (Maybe [Text]) Source #

An array of Amazon Web Services account IDs, one for each Amazon Web Services account that the bucket is configured to replicate one or more objects to.

replicationDetails_replicatedExternally :: Lens' ReplicationDetails (Maybe Bool) Source #

Specifies whether the bucket is configured to replicate one or more objects to an Amazon Web Services account that isn't part of the same Amazon Macie organization.