RegistryAlias - Amazon Elastic Container Registry Public

RegistryAlias

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.

Contents

defaultRegistryAlias

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.

Type: Boolean

Required: Yes

name

The name of the registry alias.

Type: String

Length Constraints: Minimum length of 2. Maximum length of 50.

Pattern: [a-z][a-z0-9]+(?:[._-][a-z0-9]+)*

Required: Yes

primaryRegistryAlias

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

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

Type: Boolean

Required: Yes

status

The status of the registry alias.

Type: String

Valid Values: ACTIVE | PENDING | REJECTED

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: