NAME
Paws::GreengrassV2::LambdaExecutionParameters
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::GreengrassV2::LambdaExecutionParameters object:
$service_obj->Method(Att1 => { EnvironmentVariables => $value, ..., TimeoutInSeconds => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::GreengrassV2::LambdaExecutionParameters object:
$result = $service_obj->Method(...);
$result->Att1->EnvironmentVariables
DESCRIPTION
Contains parameters for a Lambda function that runs on AWS IoT Greengrass.
ATTRIBUTES
EnvironmentVariables => Paws::GreengrassV2::LambdaEnvironmentVariables
The map of environment variables that are available to the Lambda function when it runs.
EventSources => ArrayRef[Paws::GreengrassV2::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.
ExecArgs => ArrayRef[Str|Undef]
The list of arguments to pass to the Lambda function when it runs.
InputPayloadEncodingType => Str
The encoding type that the Lambda function supports.
Default: json
LinuxProcessParams => Paws::GreengrassV2::LambdaLinuxProcessParams
The parameters for the Linux process that contains the Lambda function.
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.
MaxInstancesCount => Int
The maximum number of instances that a non-pinned Lambda function can run at the same time.
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.
Pinned => Bool
Whether or not the Lambda function is pinned, or long-lived.
A pinned Lambda function starts when AWS IoT Greengrass starts and keeps running in its own container.
A non-pinned Lambda function starts only when it receives a work item and exists after it idles for
maxIdleTimeInSeconds
. If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function.
Default: true
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.
TimeoutInSeconds => Int
The maximum amount of time in seconds that the Lambda function can process a work item.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::GreengrassV2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues