Class: Aws::ECS::Types::KeyValuePair

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 KeyValuePair data as a hash:

{
  name: "String",
  value: "String",
}

A key-value pair object.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the key-value pair. For environment variables, this is the name of the environment variable.

Returns:

  • (String)


3082
3083
3084
3085
3086
# File 'lib/aws-sdk-ecs/types.rb', line 3082

class KeyValuePair < Struct.new(
  :name,
  :value)
  include Aws::Structure
end

#valueString

The value of the key-value pair. For environment variables, this is the value of the environment variable.

Returns:

  • (String)


3082
3083
3084
3085
3086
# File 'lib/aws-sdk-ecs/types.rb', line 3082

class KeyValuePair < Struct.new(
  :name,
  :value)
  include Aws::Structure
end