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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing KeyValuePair as input to an Aws::Client method, you can use a vanilla 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)

    The name of the key-value pair.

#valueString

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

Returns:

  • (String)

    The value of the key-value pair.