AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon ECS TaskDefinition RepositoryCredentials

The RepositoryCredentials property type specifies the repository credentials for private registry authentication.

RepositoryCredentials is a property of the Amazon Elastic Container Service TaskDefinition ContainerDefinition property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "CredentialsParameter" : String }

YAML

CredentialsParameter: String

Properties

CredentialsParameter

The Amazon Resource Name (ARN) of the secret containing the private repository credentials.

Note

When using the Amazon ECS API, AWS CLI, or AWS SDK, if the secret exists in the same region as the task you are launching then you can use either the full ARN or name of the secret. When using the AWS Management Console, the full ARN of the secret must be specified.

Required: No

Type: String

Update requires: Replacement

See Also

On this page: