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

Description

 
Synopsis

Documentation

data ReplicationRule Source #

An array of objects representing the replication destinations and repository filters for a replication configuration.

See: newReplicationRule smart constructor.

Constructors

ReplicationRule' 

Fields

Instances

Instances details
Eq ReplicationRule Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationRule

Read ReplicationRule Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationRule

Show ReplicationRule Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationRule

Generic ReplicationRule Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationRule

Associated Types

type Rep ReplicationRule :: Type -> Type #

NFData ReplicationRule Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationRule

Methods

rnf :: ReplicationRule -> () #

Hashable ReplicationRule Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationRule

ToJSON ReplicationRule Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationRule

FromJSON ReplicationRule Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationRule

type Rep ReplicationRule Source # 
Instance details

Defined in Amazonka.ECR.Types.ReplicationRule

type Rep ReplicationRule = D1 ('MetaData "ReplicationRule" "Amazonka.ECR.Types.ReplicationRule" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "ReplicationRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty RepositoryFilter))) :*: S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ReplicationDestination])))

newReplicationRule :: ReplicationRule Source #

Create a value of ReplicationRule 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:repositoryFilters:ReplicationRule', replicationRule_repositoryFilters - An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.

$sel:destinations:ReplicationRule', replicationRule_destinations - An array of objects representing the destination for a replication rule.

replicationRule_repositoryFilters :: Lens' ReplicationRule (Maybe (NonEmpty RepositoryFilter)) Source #

An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.

replicationRule_destinations :: Lens' ReplicationRule [ReplicationDestination] Source #

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