class Amazonite::Lambda::Environment

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

Defined in:

lambda/environment.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(variables : Hash(String, String) | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]
def variables : Hash(String, String) | Nil #

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


[View source]
def variables=(variables : Hash(String, String) | Nil) #

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


[View source]