It returns the value of an environment variable that has given name.
It returns the value of the AWS_REGION environment variable.
It returns the value of the ENVIRONMENT environment variable.
It returns the value of the AWS_LAMBDA_FUNCTION_MEMORY_SIZE environment variable.
It returns the value of the AWS_LAMBDA_FUNCTION_NAME environment variable.
It returns the value of the AWS_LAMBDA_FUNCTION_VERSION environment variable.
It returns the value of the LOG_LEVEL environment variable.
It returns the value of the POWERTOOLS_LOGGER_SAMPLE_RATE environment variable.
It returns the value of the POWERTOOLS_SERVICE_NAME environment variable.
It returns the value of the _X_AMZN_TRACE_ID environment variable.
Generated using TypeDoc
Class EnvironmentVariablesService
This class is used to return environment variables that are available in the runtime of the current Lambda invocation. These variables can be a mix of runtime environment variables set by AWS and variables that can be set by the developer additionally.
https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime
https://awslabs.github.io/aws-lambda-powertools-typescript/latest/#environment-variables