Module Values.AuthorizationDataSource

An object representing authorization data for an Amazon ECR registry.

Sourcetype nonrec t = {
  1. authorizationToken : Base64.t option;
    (*

    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.

    *)
  2. expiresAt : ExpirationTimestamp.t option;
    (*

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

    *)
  3. proxyEndpoint : ProxyEndpoint.t option;
    (*

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

    *)
}
Sourceval make : ?authorizationToken:??? -> ?expiresAt:??? -> ?proxyEndpoint:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Base64.t | `Timestamp of ExpirationTimestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t