Skip to content
v2.274.0

AuthorizationToken Class ​

Authorization token to access private ECR repositories in the current environment via Docker CLI.

Example ​

ts
const user = new iam.User(this, 'User');
ecr.AuthorizationToken.grantRead(user);

Methods ​

grantRead(grantee: IGrantable): void@staticmethod def grant_read(grantee: IGrantable) -> Nonepublic static void grantRead(IGrantable grantee)public static void GrantRead(IGrantable grantee)func GrantRead(Grantee IGrantable)static#
Grant access to retrieve an authorization token.