Skip to content
v2.273.0

PublicGalleryAuthorizationToken Class ​

Authorization token to access the global public ECR Gallery via Docker CLI.

Example ​

ts
const user = new iam.User(this, 'User');
ecr.PublicGalleryAuthorizationToken.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.