Environment class

RuntimeEnvironment contains the Lambda execution context information. Note: this should not be used directly.

Constructors

Environment({String? runtimeAPI, String? handler, String? functionName, String? functionMemorySize, String? functionVersion, String? logGroupName, String? logStreamName, String? region, String? executionEnv, String? accessKey, String? secretAccessKey, String? sessionToken})
factory
Environment.raw({required String handler, required String functionName, required String functionMemorySize, required String functionVersion, required String logGroupName, required String logStreamName, required String region, required String executionEnv, required String accessKey, required String secretAccessKey, required String runtimeAPI, required String sessionToken})
const

Properties

accessKey String
Access key that is acquired via STS.
final
executionEnv String
The execution environment of the function.
final
functionMemorySize String
Memory sized that is allocated to execution of the function.
final
functionName String
Name of the function that is invoked.
final
functionVersion String
Version of the function that is invoked.
final
handler String
Handler that is used for the invocation of the function
final
hashCode int
The hash code for this object.
no setterinherited
logGroupName String
Cloudwatch LogGroup that is associated with the Lambda.
final
logStreamName String
Cloudwach LogStream that is associated with the Lambda.
final
region String
Region that this function exists in.
final
runtimeAPI String
The Runtime API endpoint
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretAccessKey String
Secret access key that is acquired via STS.
final
sessionToken String
The session token from STS.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited