Class: Aws::ECRPublic::Types::RegistryAlias

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#default_registry_aliasBoolean

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.

Returns:

  • (Boolean)


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

#nameString

The name of the registry alias.

Returns:

  • (String)


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_aliasBoolean

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>

Returns:

  • (Boolean)


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

#statusString

The status of the registry alias.

Returns:

  • (String)


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