Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RegistryAlias = RegistryAlias' {}
- newRegistryAlias :: Text -> RegistryAliasStatus -> Bool -> Bool -> RegistryAlias
- registryAlias_name :: Lens' RegistryAlias Text
- registryAlias_status :: Lens' RegistryAlias RegistryAliasStatus
- registryAlias_primaryRegistryAlias :: Lens' RegistryAlias Bool
- registryAlias_defaultRegistryAlias :: Lens' RegistryAlias Bool
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.
RegistryAlias' | |
|
Instances
:: Text | |
-> RegistryAliasStatus | |
-> Bool | |
-> Bool | |
-> RegistryAlias |
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_status :: Lens' RegistryAlias RegistryAliasStatus Source #
The status 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.