Class: Aws::ECS::Types::Secret
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::Secret
- 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
-
#name ⇒ String
The value to set as the environment variable on the container.
-
#value_from ⇒ String
The secret to expose to the container.
Instance Attribute Details
#name ⇒ String
The value to set as the environment variable on the container.
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_from ⇒ String
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.
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 |