public interface FunctionProps
extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
FunctionProps.Builder
A fluent step builder class for
FunctionProps. |
static class |
FunctionProps.Jsii$Pojo
A PoJo (plain-old-java-object) class that implements
FunctionProps. |
static class |
FunctionProps.Jsii$Proxy
A proxy class which for javascript object literal which adhere to this interface.
|
| Modifier and Type | Method and Description |
|---|---|
static FunctionProps.Builder |
builder() |
Code |
getCode()
The source code of your Lambda function.
|
String |
getDescription()
A description of the function.
|
Map<String,Object> |
getEnvironment()
Key-value pairs that Lambda caches and makes available for your Lambda
functions.
|
String |
getFunctionName()
A name for the function.
|
String |
getHandler()
The name of the function (within your source code) that Lambda calls to
start running your code.
|
List<software.amazon.awscdk.PolicyStatement> |
getInitialPolicy()
Initial policy statements to add to the created Lambda Role.
|
Number |
getMemorySize()
The amount of memory, in MB, that is allocated to your Lambda function.
|
software.amazon.awscdk.services.iam.Role |
getRole()
Lambda execution role.
|
Runtime |
getRuntime()
The runtime environment for the Lambda function that you are uploading.
|
Number |
getTimeout()
The function execution time (in seconds) after which Lambda terminates
the function.
|
void |
setCode(Code value)
The source code of your Lambda function.
|
void |
setDescription(String value)
A description of the function.
|
void |
setEnvironment(Map<String,Object> value)
Key-value pairs that Lambda caches and makes available for your Lambda
functions.
|
void |
setFunctionName(String value)
A name for the function.
|
void |
setHandler(String value)
The name of the function (within your source code) that Lambda calls to
start running your code.
|
void |
setInitialPolicy(List<software.amazon.awscdk.PolicyStatement> value)
Initial policy statements to add to the created Lambda Role.
|
void |
setMemorySize(Number value)
The amount of memory, in MB, that is allocated to your Lambda function.
|
void |
setRole(software.amazon.awscdk.services.iam.Role value)
Lambda execution role.
|
void |
setRuntime(Runtime value)
The runtime environment for the Lambda function that you are uploading.
|
void |
setTimeout(Number value)
The function execution time (in seconds) after which Lambda terminates
the function.
|
Code getCode()
void setCode(Code value)
String getDescription()
void setDescription(String value)
String getHandler()
void setHandler(String value)
Number getTimeout()
void setTimeout(Number value)
Map<String,Object> getEnvironment()
void setEnvironment(Map<String,Object> value)
Runtime getRuntime()
void setRuntime(Runtime value)
String getFunctionName()
void setFunctionName(String value)
Number getMemorySize()
void setMemorySize(Number value)
List<software.amazon.awscdk.PolicyStatement> getInitialPolicy()
void setInitialPolicy(List<software.amazon.awscdk.PolicyStatement> value)
software.amazon.awscdk.services.iam.Role getRole()
void setRole(software.amazon.awscdk.services.iam.Role value)
static FunctionProps.Builder builder()
Copyright © 2018. All rights reserved.