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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecrpublic/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 Public registries in the Amazon Elastic Container Registry Public User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

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.

Returns:

  • (Boolean)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 3402

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.

Returns:

  • (String)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 3402

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.

A registry alias that isn't the primary registry alias can be used in the repository URI in a docker pull command.

Returns:

  • (Boolean)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 3402

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.

Returns:

  • (String)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 3402

class RegistryAlias < Struct.new(
  :name,
  :status,
  :primary_registry_alias,
  :default_registry_alias)
  SENSITIVE = []
  include Aws::Structure
end