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.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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.

Constant Summary collapse

SENSITIVE =
[]

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)


5139
5140
5141
5142
5143
5144
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5139

class KeyValuePair < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  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)


5139
5140
5141
5142
5143
5144
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5139

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