public static interface LambdaExecutionParameters.Builder extends SdkPojo, CopyableBuilder<LambdaExecutionParameters.Builder,LambdaExecutionParameters>
| Modifier and Type | Method and Description |
|---|---|
LambdaExecutionParameters.Builder |
environmentVariables(Map<String,String> environmentVariables)
The map of environment variables that are available to the Lambda function when it runs.
|
LambdaExecutionParameters.Builder |
eventSources(Collection<LambdaEventSource> eventSources)
The list of event sources to which to subscribe to receive work messages.
|
LambdaExecutionParameters.Builder |
eventSources(Consumer<LambdaEventSource.Builder>... eventSources)
The list of event sources to which to subscribe to receive work messages.
|
LambdaExecutionParameters.Builder |
eventSources(LambdaEventSource... eventSources)
The list of event sources to which to subscribe to receive work messages.
|
LambdaExecutionParameters.Builder |
execArgs(Collection<String> execArgs)
The list of arguments to pass to the Lambda function when it runs.
|
LambdaExecutionParameters.Builder |
execArgs(String... execArgs)
The list of arguments to pass to the Lambda function when it runs.
|
LambdaExecutionParameters.Builder |
inputPayloadEncodingType(LambdaInputPayloadEncodingType inputPayloadEncodingType)
The encoding type that the Lambda function supports.
|
LambdaExecutionParameters.Builder |
inputPayloadEncodingType(String inputPayloadEncodingType)
The encoding type that the Lambda function supports.
|
default LambdaExecutionParameters.Builder |
linuxProcessParams(Consumer<LambdaLinuxProcessParams.Builder> linuxProcessParams)
The parameters for the Linux process that contains the Lambda function.
|
LambdaExecutionParameters.Builder |
linuxProcessParams(LambdaLinuxProcessParams linuxProcessParams)
The parameters for the Linux process that contains the Lambda function.
|
LambdaExecutionParameters.Builder |
maxIdleTimeInSeconds(Integer maxIdleTimeInSeconds)
The maximum amount of time in seconds that a non-pinned Lambda function can idle before the IoT Greengrass
Core software stops its process.
|
LambdaExecutionParameters.Builder |
maxInstancesCount(Integer maxInstancesCount)
The maximum number of instances that a non-pinned Lambda function can run at the same time.
|
LambdaExecutionParameters.Builder |
maxQueueSize(Integer maxQueueSize)
The maximum size of the message queue for the Lambda function component.
|
LambdaExecutionParameters.Builder |
pinned(Boolean pinned)
Whether or not the Lambda function is pinned, or long-lived.
|
LambdaExecutionParameters.Builder |
statusTimeoutInSeconds(Integer statusTimeoutInSeconds)
The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status
updates to the Lambda manager component.
|
LambdaExecutionParameters.Builder |
timeoutInSeconds(Integer timeoutInSeconds)
The maximum amount of time in seconds that the Lambda function can process a work item.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLambdaExecutionParameters.Builder eventSources(Collection<LambdaEventSource> eventSources)
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 Amazon Web Services IoT Core MQTT messages.
eventSources - 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 Amazon Web Services IoT Core MQTT messages.LambdaExecutionParameters.Builder eventSources(LambdaEventSource... eventSources)
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 Amazon Web Services IoT Core MQTT messages.
eventSources - 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 Amazon Web Services IoT Core MQTT messages.LambdaExecutionParameters.Builder eventSources(Consumer<LambdaEventSource.Builder>... eventSources)
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 Amazon Web Services IoT Core MQTT messages.
This is a convenience method that creates an instance of theLambdaEventSource.Builder avoiding the need to
create one manually via
LambdaEventSource.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #eventSources(List.
eventSources - a consumer that will call methods on
LambdaEventSource.Builder#eventSources(java.util.Collection) LambdaExecutionParameters.Builder maxQueueSize(Integer maxQueueSize)
The maximum size of the message queue for the Lambda function component. The IoT Greengrass core stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.
maxQueueSize - The maximum size of the message queue for the Lambda function component. The IoT Greengrass core
stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume
each message.LambdaExecutionParameters.Builder maxInstancesCount(Integer maxInstancesCount)
The maximum number of instances that a non-pinned Lambda function can run at the same time.
maxInstancesCount - The maximum number of instances that a non-pinned Lambda function can run at the same time.LambdaExecutionParameters.Builder maxIdleTimeInSeconds(Integer maxIdleTimeInSeconds)
The maximum amount of time in seconds that a non-pinned Lambda function can idle before the IoT Greengrass Core software stops its process.
maxIdleTimeInSeconds - The maximum amount of time in seconds that a non-pinned Lambda function can idle before the IoT
Greengrass Core software stops its process.LambdaExecutionParameters.Builder timeoutInSeconds(Integer timeoutInSeconds)
The maximum amount of time in seconds that the Lambda function can process a work item.
timeoutInSeconds - The maximum amount of time in seconds that the Lambda function can process a work item.LambdaExecutionParameters.Builder statusTimeoutInSeconds(Integer statusTimeoutInSeconds)
The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.
statusTimeoutInSeconds - The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends
status updates to the Lambda manager component.LambdaExecutionParameters.Builder pinned(Boolean pinned)
Whether or not the Lambda function is pinned, or long-lived.
A pinned Lambda function starts when 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 IoT Greengrass Core software
creates multiple instances of the function.
Default: true
pinned - Whether or not the Lambda function is pinned, or long-lived.
A pinned Lambda function starts when 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 IoT Greengrass Core
software creates multiple instances of the function.
Default: true
LambdaExecutionParameters.Builder inputPayloadEncodingType(String inputPayloadEncodingType)
The encoding type that the Lambda function supports.
Default: json
inputPayloadEncodingType - The encoding type that the Lambda function supports.
Default: json
LambdaInputPayloadEncodingType,
LambdaInputPayloadEncodingTypeLambdaExecutionParameters.Builder inputPayloadEncodingType(LambdaInputPayloadEncodingType inputPayloadEncodingType)
The encoding type that the Lambda function supports.
Default: json
inputPayloadEncodingType - The encoding type that the Lambda function supports.
Default: json
LambdaInputPayloadEncodingType,
LambdaInputPayloadEncodingTypeLambdaExecutionParameters.Builder execArgs(Collection<String> execArgs)
The list of arguments to pass to the Lambda function when it runs.
execArgs - The list of arguments to pass to the Lambda function when it runs.LambdaExecutionParameters.Builder execArgs(String... execArgs)
The list of arguments to pass to the Lambda function when it runs.
execArgs - The list of arguments to pass to the Lambda function when it runs.LambdaExecutionParameters.Builder environmentVariables(Map<String,String> environmentVariables)
The map of environment variables that are available to the Lambda function when it runs.
environmentVariables - The map of environment variables that are available to the Lambda function when it runs.LambdaExecutionParameters.Builder linuxProcessParams(LambdaLinuxProcessParams linuxProcessParams)
The parameters for the Linux process that contains the Lambda function.
linuxProcessParams - The parameters for the Linux process that contains the Lambda function.default LambdaExecutionParameters.Builder linuxProcessParams(Consumer<LambdaLinuxProcessParams.Builder> linuxProcessParams)
The parameters for the Linux process that contains the Lambda function.
This is a convenience method that creates an instance of theLambdaLinuxProcessParams.Builder
avoiding the need to create one manually via LambdaLinuxProcessParams.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to linuxProcessParams(LambdaLinuxProcessParams).
linuxProcessParams - a consumer that will call methods on LambdaLinuxProcessParams.BuilderlinuxProcessParams(LambdaLinuxProcessParams)Copyright © 2023. All rights reserved.