You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Batch::Types::KeyValuePair

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


1449
1450
1451
1452
1453
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1449

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)


1449
1450
1451
1452
1453
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1449

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