You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ECR::Types::AuthorizationData

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb

Overview

An object representing authorization data for an Amazon ECR registry.

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_tokenString

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.

Returns:

  • (String)


34
35
36
37
38
39
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 34

class AuthorizationData < Struct.new(
  :authorization_token,
  :expires_at,
  :proxy_endpoint)
  include Aws::Structure
end

#expires_atTime

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

Returns:

  • (Time)


34
35
36
37
38
39
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 34

class AuthorizationData < Struct.new(
  :authorization_token,
  :expires_at,
  :proxy_endpoint)
  include Aws::Structure
end

#proxy_endpointString

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..

Returns:

  • (String)


34
35
36
37
38
39
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 34

class AuthorizationData < Struct.new(
  :authorization_token,
  :expires_at,
  :proxy_endpoint)
  include Aws::Structure
end