Skip to content

/AWS1/CL_ECRAUTHORIZATIONDATA

An object representing authorization data for an Amazon ECR registry.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_authorizationtoken TYPE /AWS1/ECRBASE64 /AWS1/ECRBASE64

A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format user:password for private registry authentication using docker login.

iv_expiresat TYPE /AWS1/ECREXPIRATIONTIMESTAMP /AWS1/ECREXPIRATIONTIMESTAMP

The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.

iv_proxyendpoint TYPE /AWS1/ECRPROXYENDPOINT /AWS1/ECRPROXYENDPOINT

The registry URL to use for this authorization token in a docker login command. The Amazon ECR registry URL format is https://aws_account_id.dkr.ecr.region.amazonaws.com. For example, https://012345678910.dkr.ecr.us-east-1.amazonaws.com..


Queryable Attributes

authorizationToken

A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format user:password for private registry authentication using docker login.

Accessible with the following methods

Method Description
GET_AUTHORIZATIONTOKEN() Getter for AUTHORIZATIONTOKEN, with configurable default
ASK_AUTHORIZATIONTOKEN() Getter for AUTHORIZATIONTOKEN w/ exceptions if field has no
HAS_AUTHORIZATIONTOKEN() Determine if AUTHORIZATIONTOKEN has a value

expiresAt

The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.

Accessible with the following methods

Method Description
GET_EXPIRESAT() Getter for EXPIRESAT, with configurable default
ASK_EXPIRESAT() Getter for EXPIRESAT w/ exceptions if field has no value
HAS_EXPIRESAT() Determine if EXPIRESAT has a value

proxyEndpoint

The registry URL to use for this authorization token in a docker login command. The Amazon ECR registry URL format is https://aws_account_id.dkr.ecr.region.amazonaws.com. For example, https://012345678910.dkr.ecr.us-east-1.amazonaws.com..

Accessible with the following methods

Method Description
GET_PROXYENDPOINT() Getter for PROXYENDPOINT, with configurable default
ASK_PROXYENDPOINT() Getter for PROXYENDPOINT w/ exceptions if field has no value
HAS_PROXYENDPOINT() Determine if PROXYENDPOINT has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_AUTHORIZATIONDATALIST

TYPES TT_AUTHORIZATIONDATALIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_ECRAUTHORIZATIONDATA WITH DEFAULT KEY
.