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.