public static final class FunctionProps.Jsii$Pojo extends Object implements FunctionProps
FunctionProps.FunctionProps.Builder, FunctionProps.Jsii$Pojo, FunctionProps.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
protected Code |
_code |
protected String |
_description |
protected Map<String,Object> |
_environment |
protected String |
_functionName |
protected String |
_handler |
protected List<software.amazon.awscdk.PolicyStatement> |
_initialPolicy |
protected Number |
_memorySize |
protected software.amazon.awscdk.services.iam.Role |
_role |
protected Runtime |
_runtime |
protected Number |
_timeout |
| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Pojo()
Constructor used by builders.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderprotected Code _code
protected String _description
protected String _handler
protected Number _timeout
protected Runtime _runtime
protected String _functionName
protected Number _memorySize
protected List<software.amazon.awscdk.PolicyStatement> _initialPolicy
protected software.amazon.awscdk.services.iam.Role _role
public Code getCode()
FunctionPropsgetCode in interface FunctionPropspublic void setCode(Code value)
FunctionPropssetCode in interface FunctionPropspublic String getDescription()
FunctionPropsgetDescription in interface FunctionPropspublic void setDescription(String value)
FunctionPropssetDescription in interface FunctionPropspublic String getHandler()
FunctionPropsgetHandler in interface FunctionPropspublic void setHandler(String value)
FunctionPropssetHandler in interface FunctionPropspublic Number getTimeout()
FunctionPropsgetTimeout in interface FunctionPropspublic void setTimeout(Number value)
FunctionPropssetTimeout in interface FunctionPropspublic Map<String,Object> getEnvironment()
FunctionPropsgetEnvironment in interface FunctionPropspublic void setEnvironment(Map<String,Object> value)
FunctionPropssetEnvironment in interface FunctionPropspublic Runtime getRuntime()
FunctionPropsgetRuntime in interface FunctionPropspublic void setRuntime(Runtime value)
FunctionPropssetRuntime in interface FunctionPropspublic String getFunctionName()
FunctionPropsgetFunctionName in interface FunctionPropspublic void setFunctionName(String value)
FunctionPropssetFunctionName in interface FunctionPropspublic Number getMemorySize()
FunctionPropsgetMemorySize in interface FunctionPropspublic void setMemorySize(Number value)
FunctionPropssetMemorySize in interface FunctionPropspublic List<software.amazon.awscdk.PolicyStatement> getInitialPolicy()
FunctionPropsgetInitialPolicy in interface FunctionPropspublic void setInitialPolicy(List<software.amazon.awscdk.PolicyStatement> value)
FunctionPropssetInitialPolicy in interface FunctionPropspublic software.amazon.awscdk.services.iam.Role getRole()
FunctionPropsgetRole in interface FunctionPropspublic void setRole(software.amazon.awscdk.services.iam.Role value)
FunctionPropssetRole in interface FunctionPropsCopyright © 2018. All rights reserved.