Class: Aws::ECRPublic::Types::RegistryAlias
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECRPublic::Types::RegistryAlias
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecrpublic/types.rb
Overview
An object representing the aliases for a public registry. A public registry is given an alias when it’s created. However, a custom alias can be set using the Amazon ECR console. For more information, see
- Registries][1
-
in the *Amazon Elastic Container Registry User Guide*.
[1]: docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#default_registry_alias ⇒ Boolean
Indicates whether the registry alias is the default alias for the registry.
-
#name ⇒ String
The name of the registry alias.
-
#primary_registry_alias ⇒ Boolean
Indicates whether the registry alias is the primary alias for the registry.
-
#status ⇒ String
The status of the registry alias.
Instance Attribute Details
#default_registry_alias ⇒ Boolean
Indicates whether 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.
1440 1441 1442 1443 1444 1445 1446 1447 |
# File 'lib/aws-sdk-ecrpublic/types.rb', line 1440 class RegistryAlias < Struct.new( :name, :status, :primary_registry_alias, :default_registry_alias) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the registry alias.
1440 1441 1442 1443 1444 1445 1446 1447 |
# File 'lib/aws-sdk-ecrpublic/types.rb', line 1440 class RegistryAlias < Struct.new( :name, :status, :primary_registry_alias, :default_registry_alias) SENSITIVE = [] include Aws::Structure end |
#primary_registry_alias ⇒ Boolean
Indicates whether 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.
<note markdown=“1”> A registry alias that isn’t the primary registry alias can be used in the repository URI in a ‘docker pull` command.
</note>
1440 1441 1442 1443 1444 1445 1446 1447 |
# File 'lib/aws-sdk-ecrpublic/types.rb', line 1440 class RegistryAlias < Struct.new( :name, :status, :primary_registry_alias, :default_registry_alias) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The status of the registry alias.
1440 1441 1442 1443 1444 1445 1446 1447 |
# File 'lib/aws-sdk-ecrpublic/types.rb', line 1440 class RegistryAlias < Struct.new( :name, :status, :primary_registry_alias, :default_registry_alias) SENSITIVE = [] include Aws::Structure end |