Class: Aws::ECS::Types::Secret

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Note:

When making an API call, you may pass Secret data as a hash:

{
  name: "String", # required
  value_from: "String", # required
}

An object representing the secret to expose to your container.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The value to set as the environment variable on the container.

Returns:

  • (String)


5483
5484
5485
5486
5487
# File 'lib/aws-sdk-ecs/types.rb', line 5483

class Secret < Struct.new(
  :name,
  :value_from)
  include Aws::Structure
end

#value_fromString

The secret to expose to the container. Supported values are either the full ARN or the name of the parameter in the AWS Systems Manager Parameter Store.

Returns:

  • (String)


5483
5484
5485
5486
5487
# File 'lib/aws-sdk-ecs/types.rb', line 5483

class Secret < Struct.new(
  :name,
  :value_from)
  include Aws::Structure
end