public static interface SingletonFunctionProps.Builder.Build
| Modifier and Type | Method and Description |
|---|---|
SingletonFunctionProps |
build() |
SingletonFunctionProps.Builder.Build |
withDescription(String value)
A description of the function.
|
SingletonFunctionProps.Builder.Build |
withEnvironment(Map<String,Object> value)
Key-value pairs that Lambda caches and makes available for your Lambda
functions.
|
SingletonFunctionProps.Builder.Build |
withFunctionName(String value)
A name for the function.
|
SingletonFunctionProps.Builder.Build |
withInitialPolicy(List<software.amazon.awscdk.PolicyStatement> value)
Initial policy statements to add to the created Lambda Role.
|
SingletonFunctionProps.Builder.Build |
withLambdaPurpose(String value)
A descriptive name for the purpose of this Lambda.
|
SingletonFunctionProps.Builder.Build |
withMemorySize(Number value)
The amount of memory, in MB, that is allocated to your Lambda function.
|
SingletonFunctionProps.Builder.Build |
withRole(software.amazon.awscdk.services.iam.Role value)
Lambda execution role.
|
SingletonFunctionProps.Builder.Build |
withTimeout(Number value)
The function execution time (in seconds) after which Lambda terminates
the function.
|
SingletonFunctionProps build()
SingletonFunctionProps object, initialized with the values set on this builder.SingletonFunctionProps.Builder.Build withLambdaPurpose(String value)
SingletonFunctionProps.Builder.Build withDescription(String value)
SingletonFunctionProps.Builder.Build withTimeout(Number value)
SingletonFunctionProps.Builder.Build withEnvironment(Map<String,Object> value)
SingletonFunctionProps.Builder.Build withFunctionName(String value)
SingletonFunctionProps.Builder.Build withMemorySize(Number value)
SingletonFunctionProps.Builder.Build withInitialPolicy(List<software.amazon.awscdk.PolicyStatement> value)
SingletonFunctionProps.Builder.Build withRole(software.amazon.awscdk.services.iam.Role value)
Copyright © 2018. All rights reserved.