Skip to content

AuthorizationData

Source code in docs_src/capo_ecr/types/authorization_data.py
class AuthorizationData(TypedDict, closed=True):
    authorization_token: NotRequired["capo_ecr.types.base64.Base64"]
    """<p>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 <code>user:password</code> for private registry authentication using <code>docker login</code>.</p>"""
    expires_at: NotRequired["capo_ecr.types.expiration_timestamp.ExpirationTimestamp"]
    """<p>The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.</p>"""
    proxy_endpoint: NotRequired["capo_ecr.types.proxy_endpoint.ProxyEndpoint"]
    """<p>The registry URL to use for this authorization token in a <code>docker login</code> command. The Amazon ECR registry URL format is <code>https://aws_account_id.dkr.ecr.region.amazonaws.com</code>. For example, <code>https://012345678910.dkr.ecr.us-east-1.amazonaws.com</code>.. </p>"""

authorization_token instance-attribute

authorization_token: NotRequired[Base64]

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.

expires_at instance-attribute

expires_at: NotRequired[ExpirationTimestamp]

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

proxy_endpoint instance-attribute

proxy_endpoint: NotRequired[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..