Show / Hide Table of Contents

Class PublicGalleryAuthorizationToken

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

Inheritance
System.Object
PublicGalleryAuthorizationToken
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.AWS.ECR.dll
Syntax (csharp)
public class PublicGalleryAuthorizationToken : DeputyBase
Syntax (vb)
Public Class PublicGalleryAuthorizationToken
    Inherits DeputyBase
Remarks

See: https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html#public-registry-auth

ExampleMetadata: infused

Examples
var user = new User(this, "User");
PublicGalleryAuthorizationToken.GrantRead(user);

Synopsis

Constructors

PublicGalleryAuthorizationToken(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

PublicGalleryAuthorizationToken(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

Methods

GrantRead(IGrantable)

Grant access to retrieve an authorization token.

Constructors

PublicGalleryAuthorizationToken(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected PublicGalleryAuthorizationToken(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

PublicGalleryAuthorizationToken(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected PublicGalleryAuthorizationToken(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Methods

GrantRead(IGrantable)

Grant access to retrieve an authorization token.

public static void GrantRead(IGrantable grantee)
Parameters
grantee IGrantable
Back to top Generated by DocFX