LambdaExecutionParameters class

Contains parameters for a Lambda function that runs on AWS IoT Greengrass.

Constructors

LambdaExecutionParameters({Map<String, String>? environmentVariables, List<LambdaEventSource>? eventSources, List<String>? execArgs, LambdaInputPayloadEncodingType? inputPayloadEncodingType, LambdaLinuxProcessParams? linuxProcessParams, int? maxIdleTimeInSeconds, int? maxInstancesCount, int? maxQueueSize, bool? pinned, int? statusTimeoutInSeconds, int? timeoutInSeconds})

Properties

environmentVariables Map<String, String>?
The map of environment variables that are available to the Lambda function when it runs.
final
eventSources List<LambdaEventSource>?
The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and AWS IoT Core MQTT messages.
final
execArgs List<String>?
The list of arguments to pass to the Lambda function when it runs.
final
hashCode int
The hash code for this object.
no setterinherited
inputPayloadEncodingType LambdaInputPayloadEncodingType?
The encoding type that the Lambda function supports.
final
linuxProcessParams LambdaLinuxProcessParams?
The parameters for the Linux process that contains the Lambda function.
final
maxIdleTimeInSeconds int?
The maximum amount of time in seconds that a non-pinned Lambda function can idle before the AWS IoT Greengrass Core software stops its process.
final
maxInstancesCount int?
The maximum number of instances that a non-pinned Lambda function can run at the same time.
final
maxQueueSize int?
The maximum size of the message queue for the Lambda function component. The AWS IoT Greengrass core stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.
final
pinned bool?
Whether or not the Lambda function is pinned, or long-lived.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusTimeoutInSeconds int?
The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.
final
timeoutInSeconds int?
The maximum amount of time in seconds that the Lambda function can process a work item.
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