class
Amazonite::Lambda::Environment
- Amazonite::Lambda::Environment
- Reference
- Object
Overview
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.
Included Modules
- JSON::Serializable
Defined in:
lambda/environment.crConstructors
- .new(pull : JSON::PullParser)
- .new(variables : Hash(String, String) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
-
#variables : Hash(String, String) | Nil
Environment variable key-value pairs.
-
#variables=(variables : Hash(String, String) | Nil)
Environment variable key-value pairs.
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def variables : Hash(String, String) | Nil
#
Environment variable key-value pairs. For more information, see Using Lambda environment variables.
def variables=(variables : Hash(String, String) | Nil)
#
Environment variable key-value pairs. For more information, see Using Lambda environment variables.