@Stability(value=Stable) public static final class CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFunctionDefinitionVersion.FunctionConfigurationProperty>
| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder encodingType(String encodingType)
encodingType - The expected encoding type of the input payload for the function.
Valid values are json (default) and binary .this@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder environment(IResolvable environment)
environment - The environment configuration of the function.this@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder environment(CfnFunctionDefinitionVersion.EnvironmentProperty environment)
environment - The environment configuration of the function.this@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder execArgs(String execArgs)
CfnFunctionDefinitionVersion.FunctionConfigurationProperty.getExecArgs()execArgs - The execution arguments.this@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder executable(String executable)
executable - The name of the function executable.this@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder memorySize(Number memorySize)
memorySize - The memory size (in KB) required by the function.
This property applies only to Lambda functions that run in a Greengrass container.
this@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder pinned(Boolean pinned)
CfnFunctionDefinitionVersion.FunctionConfigurationProperty.getPinned()pinned - Indicates whether the function is pinned (or *long-lived* ).
Pinned functions start when the core starts and process all requests in the same container. The default value is false.this@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder pinned(IResolvable pinned)
CfnFunctionDefinitionVersion.FunctionConfigurationProperty.getPinned()pinned - Indicates whether the function is pinned (or *long-lived* ).
Pinned functions start when the core starts and process all requests in the same container. The default value is false.this@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder timeout(Number timeout)
CfnFunctionDefinitionVersion.FunctionConfigurationProperty.getTimeout()timeout - The allowed execution time (in seconds) after which the function should terminate.
For pinned functions, this timeout applies for each request.this@Stability(value=Stable) public CfnFunctionDefinitionVersion.FunctionConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnFunctionDefinitionVersion.FunctionConfigurationProperty>CfnFunctionDefinitionVersion.FunctionConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.