@Stability(value=Stable) public static final class CfnFunctionDefinition.FunctionConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFunctionDefinition.FunctionConfigurationProperty>
CfnFunctionDefinition.FunctionConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnFunctionDefinition.FunctionConfigurationProperty.Builder encodingType(String encodingType)
CfnFunctionDefinition.FunctionConfigurationProperty.getEncodingType()encodingType - The expected encoding type of the input payload for the function.
Valid values are json (default) and binary .this@Stability(value=Stable) public CfnFunctionDefinition.FunctionConfigurationProperty.Builder environment(CfnFunctionDefinition.EnvironmentProperty environment)
CfnFunctionDefinition.FunctionConfigurationProperty.getEnvironment()environment - The environment configuration of the function.this@Stability(value=Stable) public CfnFunctionDefinition.FunctionConfigurationProperty.Builder environment(IResolvable environment)
CfnFunctionDefinition.FunctionConfigurationProperty.getEnvironment()environment - The environment configuration of the function.this@Stability(value=Stable) public CfnFunctionDefinition.FunctionConfigurationProperty.Builder execArgs(String execArgs)
CfnFunctionDefinition.FunctionConfigurationProperty.getExecArgs()execArgs - The execution arguments.this@Stability(value=Stable) public CfnFunctionDefinition.FunctionConfigurationProperty.Builder executable(String executable)
CfnFunctionDefinition.FunctionConfigurationProperty.getExecutable()executable - The name of the function executable.this@Stability(value=Stable) public CfnFunctionDefinition.FunctionConfigurationProperty.Builder memorySize(Number memorySize)
CfnFunctionDefinition.FunctionConfigurationProperty.getMemorySize()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 CfnFunctionDefinition.FunctionConfigurationProperty.Builder pinned(Boolean pinned)
CfnFunctionDefinition.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 CfnFunctionDefinition.FunctionConfigurationProperty.Builder pinned(IResolvable pinned)
CfnFunctionDefinition.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 CfnFunctionDefinition.FunctionConfigurationProperty.Builder timeout(Number timeout)
CfnFunctionDefinition.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 CfnFunctionDefinition.FunctionConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnFunctionDefinition.FunctionConfigurationProperty>CfnFunctionDefinition.FunctionConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.