@Stability(value=Stable) public static final class CfnComponentVersion.LambdaExecutionParametersProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnComponentVersion.LambdaExecutionParametersProperty>
CfnComponentVersion.LambdaExecutionParametersProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder environmentVariables(IResolvable environmentVariables)
environmentVariables - The map of environment variables that are available to the Lambda function when it runs.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder environmentVariables(Map<String,String> environmentVariables)
environmentVariables - The map of environment variables that are available to the Lambda function when it runs.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder eventSources(IResolvable eventSources)
CfnComponentVersion.LambdaExecutionParametersProperty.getEventSources()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 AWS IoT Core MQTT messages.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder eventSources(List<? extends Object> eventSources)
CfnComponentVersion.LambdaExecutionParametersProperty.getEventSources()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 AWS IoT Core MQTT messages.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder execArgs(List<String> execArgs)
CfnComponentVersion.LambdaExecutionParametersProperty.getExecArgs()execArgs - The list of arguments to pass to the Lambda function when it runs.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder inputPayloadEncodingType(String inputPayloadEncodingType)
CfnComponentVersion.LambdaExecutionParametersProperty.getInputPayloadEncodingType()inputPayloadEncodingType - The encoding type that the Lambda function supports.
Default: jsonthis@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder linuxProcessParams(CfnComponentVersion.LambdaLinuxProcessParamsProperty linuxProcessParams)
linuxProcessParams - The parameters for the Linux process that contains the Lambda function.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder linuxProcessParams(IResolvable linuxProcessParams)
linuxProcessParams - The parameters for the Linux process that contains the Lambda function.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder maxIdleTimeInSeconds(Number maxIdleTimeInSeconds)
maxIdleTimeInSeconds - The maximum amount of time in seconds that a non-pinned Lambda function can idle before the software stops its process.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder maxInstancesCount(Number maxInstancesCount)
maxInstancesCount - The maximum number of instances that a non-pinned Lambda function can run at the same time.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder maxQueueSize(Number maxQueueSize)
CfnComponentVersion.LambdaExecutionParametersProperty.getMaxQueueSize()maxQueueSize - The maximum size of the message queue for the Lambda function component.
The Greengrass core device stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder pinned(Boolean pinned)
CfnComponentVersion.LambdaExecutionParametersProperty.getPinned()pinned - Whether or not the Lambda function is pinned, or long-lived.
maxIdleTimeInSeconds . If the function has multiple work items, the software creates multiple instances of the function.
Default: true
this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder pinned(IResolvable pinned)
CfnComponentVersion.LambdaExecutionParametersProperty.getPinned()pinned - Whether or not the Lambda function is pinned, or long-lived.
maxIdleTimeInSeconds . If the function has multiple work items, the software creates multiple instances of the function.
Default: true
this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder statusTimeoutInSeconds(Number statusTimeoutInSeconds)
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.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty.Builder timeoutInSeconds(Number timeoutInSeconds)
timeoutInSeconds - The maximum amount of time in seconds that the Lambda function can process a work item.this@Stability(value=Stable) public CfnComponentVersion.LambdaExecutionParametersProperty build()
build in interface software.amazon.jsii.Builder<CfnComponentVersion.LambdaExecutionParametersProperty>CfnComponentVersion.LambdaExecutionParametersPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.