libZSservicesZSamazonka-ecrZSamazonka-ecr
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.ECR.Types.ReplicationDestination

Description

 
Synopsis

Documentation

data ReplicationDestination Source #

An array of objects representing the destination for a replication rule.

See: newReplicationDestination smart constructor.

Constructors

ReplicationDestination' 

Fields

  • region :: Text

    The Region to replicate to.

  • registryId :: Text

    The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.

Instances

Instances details
Eq ReplicationDestination Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationDestination

Read ReplicationDestination Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationDestination

Show ReplicationDestination Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationDestination

Generic ReplicationDestination Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationDestination

Associated Types

type Rep ReplicationDestination :: Type -> Type #

NFData ReplicationDestination Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationDestination

Methods

rnf :: ReplicationDestination -> () #

Hashable ReplicationDestination Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationDestination

ToJSON ReplicationDestination Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationDestination

FromJSON ReplicationDestination Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationDestination

type Rep ReplicationDestination Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationDestination

type Rep ReplicationDestination = D1 ('MetaData "ReplicationDestination" "Amazonka.ECR.Types.ReplicationDestination" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "ReplicationDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newReplicationDestination Source #

Create a value of ReplicationDestination 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:region:ReplicationDestination', replicationDestination_region - The Region to replicate to.

$sel:registryId:ReplicationDestination', replicationDestination_registryId - The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.

replicationDestination_registryId :: Lens' ReplicationDestination Text Source #

The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.