Class: Aws::Lambda::Types::Environment

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lambda/types.rb

Overview

Note:

When making an API call, you may pass Environment data as a hash:

{
  variables: {
    "EnvironmentVariableName" => "EnvironmentVariableValue",
  },
}

A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.

Constant Summary collapse

SENSITIVE =
[:variables]

Instance Attribute Summary collapse

Instance Attribute Details

#variablesHash<String,String>

Environment variable key-value pairs. For more information, see [Using Lambda environment variables].

[1]: docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html

Returns:

  • (Hash<String,String>)

1563
1564
1565
1566
1567
# File 'lib/aws-sdk-lambda/types.rb', line 1563

class Environment < Struct.new(
  :variables)
  SENSITIVE = [:variables]
  include Aws::Structure
end