libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public
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.ECRPublic.Types.RegistryAlias

Description

 
Synopsis

Documentation

data RegistryAlias Source #

An object representing the aliases for a public registry. A public registry is given an alias upon creation but a custom alias can be set using the Amazon ECR console. For more information, see Registries in the Amazon Elastic Container Registry User Guide.

See: newRegistryAlias smart constructor.

Constructors

RegistryAlias' 

Fields

  • name :: Text

    The name of the registry alias.

  • status :: RegistryAliasStatus

    The status of the registry alias.

  • primaryRegistryAlias :: Bool

    Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary registry alias and is displayed in both the repository URL and the image URI used in the docker pull commands on the Amazon ECR Public Gallery.

    A registry alias that is not the primary registry alias can be used in the repository URI in a docker pull command.

  • defaultRegistryAlias :: Bool

    Whether or not the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.

Instances

Instances details
Eq RegistryAlias Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.RegistryAlias

Read RegistryAlias Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.RegistryAlias

Show RegistryAlias Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.RegistryAlias

Generic RegistryAlias Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.RegistryAlias

Associated Types

type Rep RegistryAlias :: Type -> Type #

NFData RegistryAlias Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.RegistryAlias

Methods

rnf :: RegistryAlias -> () #

Hashable RegistryAlias Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.RegistryAlias

FromJSON RegistryAlias Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.RegistryAlias

type Rep RegistryAlias Source # 
Instance details

Defined in Amazonka.ECRPublic.Types.RegistryAlias

type Rep RegistryAlias = D1 ('MetaData "RegistryAlias" "Amazonka.ECRPublic.Types.RegistryAlias" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" 'False) (C1 ('MetaCons "RegistryAlias'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RegistryAliasStatus)) :*: (S1 ('MetaSel ('Just "primaryRegistryAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "defaultRegistryAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newRegistryAlias Source #

Create a value of RegistryAlias 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:name:RegistryAlias', registryAlias_name - The name of the registry alias.

$sel:status:RegistryAlias', registryAlias_status - The status of the registry alias.

$sel:primaryRegistryAlias:RegistryAlias', registryAlias_primaryRegistryAlias - Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary registry alias and is displayed in both the repository URL and the image URI used in the docker pull commands on the Amazon ECR Public Gallery.

A registry alias that is not the primary registry alias can be used in the repository URI in a docker pull command.

$sel:defaultRegistryAlias:RegistryAlias', registryAlias_defaultRegistryAlias - Whether or not the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.

registryAlias_name :: Lens' RegistryAlias Text Source #

The name of the registry alias.

registryAlias_primaryRegistryAlias :: Lens' RegistryAlias Bool Source #

Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary registry alias and is displayed in both the repository URL and the image URI used in the docker pull commands on the Amazon ECR Public Gallery.

A registry alias that is not the primary registry alias can be used in the repository URI in a docker pull command.

registryAlias_defaultRegistryAlias :: Lens' RegistryAlias Bool Source #

Whether or not the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.