Class PublicGalleryAuthorizationToken

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecr.PublicGalleryAuthorizationToken
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.433Z") @Stability(Stable) public class PublicGalleryAuthorizationToken extends software.amazon.jsii.JsiiObject
Authorization token to access the global public ECR Gallery via Docker CLI.

Example:

 User user = new User(this, "User");
 PublicGalleryAuthorizationToken.grantRead(user);
 

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    PublicGalleryAuthorizationToken(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    PublicGalleryAuthorizationToken(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Grant access to retrieve an authorization token.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • PublicGalleryAuthorizationToken

      protected PublicGalleryAuthorizationToken(software.amazon.jsii.JsiiObjectRef objRef)
    • PublicGalleryAuthorizationToken

      protected PublicGalleryAuthorizationToken(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • grantRead

      @Stability(Stable) public static void grantRead(@NotNull IGrantable grantee)
      Grant access to retrieve an authorization token.

      Parameters:
      grantee - This parameter is required.