FunctionConfiguration class

The configuration of the Lambda function.

Constructors

FunctionConfiguration({EncodingType? encodingType, FunctionConfigurationEnvironment? environment, String? execArgs, String? executable, int? memorySize, bool? pinned, int? timeout})
FunctionConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

encodingType EncodingType?
The expected encoding type of the input payload for the function. The default is ''json''.
final
environment FunctionConfigurationEnvironment?
The environment configuration of the function.
final
execArgs String?
The execution arguments.
final
executable String?
The name of the function executable.
final
hashCode int
The hash code for this object.
no setterinherited
memorySize int?
The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization.
final
pinned bool?
True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout int?
The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.
final

Methods

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

Operators

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