RepositoryCredentialsProperty Struct
The repository credentials for private registry authentication.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const repositoryCredentialsProperty: ecs.CfnDaemonTaskDefinition.RepositoryCredentialsProperty = {
credentialsParameter: 'credentialsParameter',
};
Properties
credentialsParameterstringcredentials_parameterstrcredentialsParameterStringCredentialsParameterstringCredentialsParameter*string#The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
notes
When you use the Amazon ECS API, CLI, or AWS SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the AWS Management Console, you must specify the full ARN of the secret.