AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::ECS::Types::RepositoryCredentials

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RepositoryCredentials as input to an Aws::Client method, you can use a vanilla Hash:

{
  credentials_parameter: "String", # required
}

The repository credentials for private registry authentication.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#credentials_parameterString

The Amazon Resource Name (ARN) of the secret containing the private repository credentials.

When you are using the Amazon ECS API, AWS CLI, or AWS SDK, if the secret exists in the same Region as the task that you are launching then you can use either the full ARN or the name of the secret. When you are using the AWS Management Console, you must specify the full ARN of the secret.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the secret containing the private repository credentials.