Class AuthorizationToken

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

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-03-01T20:58:23.391Z") @Stability(Stable) public class AuthorizationToken extends software.amazon.jsii.JsiiObject
Authorization token to access private ECR repositories in the current environment via Docker CLI.

Example:

 User user = new User(this, "User");
 AuthorizationToken.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
    AuthorizationToken(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    AuthorizationToken(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

    • AuthorizationToken

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

      protected AuthorizationToken(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.