public static interface FunctionConfiguration.Builder extends SdkPojo, CopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
| Modifier and Type | Method and Description |
|---|---|
FunctionConfiguration.Builder |
encodingType(EncodingType encodingType)
The expected encoding type of the input payload for the function.
|
FunctionConfiguration.Builder |
encodingType(String encodingType)
The expected encoding type of the input payload for the function.
|
default FunctionConfiguration.Builder |
environment(Consumer<FunctionConfigurationEnvironment.Builder> environment)
The environment configuration of the function.
|
FunctionConfiguration.Builder |
environment(FunctionConfigurationEnvironment environment)
The environment configuration of the function.
|
FunctionConfiguration.Builder |
execArgs(String execArgs)
The execution arguments.
|
FunctionConfiguration.Builder |
executable(String executable)
The name of the function executable.
|
FunctionConfiguration.Builder |
memorySize(Integer memorySize)
The memory size, in KB, which the function requires.
|
FunctionConfiguration.Builder |
pinned(Boolean pinned)
True if the function is pinned.
|
FunctionConfiguration.Builder |
timeout(Integer timeout)
The allowed function execution time, after which Lambda should terminate the function.
|
copyapplyMutation, buildFunctionConfiguration.Builder encodingType(String encodingType)
encodingType - The expected encoding type of the input payload for the function. The default is ''json''.EncodingType,
EncodingTypeFunctionConfiguration.Builder encodingType(EncodingType encodingType)
encodingType - The expected encoding type of the input payload for the function. The default is ''json''.EncodingType,
EncodingTypeFunctionConfiguration.Builder environment(FunctionConfigurationEnvironment environment)
environment - The environment configuration of the function.default FunctionConfiguration.Builder environment(Consumer<FunctionConfigurationEnvironment.Builder> environment)
FunctionConfigurationEnvironment.Builder avoiding the need to create one manually via
FunctionConfigurationEnvironment.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to environment(FunctionConfigurationEnvironment).environment - a consumer that will call methods on FunctionConfigurationEnvironment.Builderenvironment(FunctionConfigurationEnvironment)FunctionConfiguration.Builder execArgs(String execArgs)
execArgs - The execution arguments.FunctionConfiguration.Builder executable(String executable)
executable - The name of the function executable.FunctionConfiguration.Builder memorySize(Integer memorySize)
memorySize - The memory size, in KB, which the function requires. This setting is not applicable and should be
cleared when you run the Lambda function without containerization.FunctionConfiguration.Builder pinned(Boolean pinned)
pinned - True if the function is pinned. Pinned means the function is long-lived and starts when the core
starts.FunctionConfiguration.Builder timeout(Integer timeout)
timeout - The allowed function execution time, after which Lambda should terminate the function. This timeout
still applies to pinned Lambda functions for each request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.