amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

  • 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.

  • 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.

Instances

Instances details
FromJSON 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 #

Read ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

Show ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

NFData ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

Methods

rnf :: ReplicationDetails -> () #

Eq ReplicationDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ReplicationDetails

Hashable 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" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "ReplicationDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "replicatedExternally") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "replicationAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

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: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.

$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.

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

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

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.

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.