public static class FunctionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FunctionProps
software.amazon.jsii.JsiiObject.InitializationModeFunctionProps.Builder, FunctionProps.Jsii$Pojo, FunctionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| 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.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObject.InitializationMode mode)
public Code getCode()
getCode in interface FunctionPropspublic void setCode(Code value)
setCode in interface FunctionProps@Nullable public String getDescription()
getDescription in interface FunctionPropspublic void setDescription(@Nullable String value)
setDescription in interface FunctionPropspublic String getHandler()
getHandler in interface FunctionPropspublic void setHandler(String value)
setHandler in interface FunctionProps@Nullable public Number getTimeout()
getTimeout in interface FunctionPropspublic void setTimeout(@Nullable Number value)
setTimeout in interface FunctionProps@Nullable public Map<String,Object> getEnvironment()
getEnvironment in interface FunctionPropspublic void setEnvironment(@Nullable Map<String,Object> value)
setEnvironment in interface FunctionPropspublic Runtime getRuntime()
getRuntime in interface FunctionPropspublic void setRuntime(Runtime value)
setRuntime in interface FunctionProps@Nullable public String getFunctionName()
getFunctionName in interface FunctionPropspublic void setFunctionName(@Nullable String value)
setFunctionName in interface FunctionProps@Nullable public Number getMemorySize()
getMemorySize in interface FunctionPropspublic void setMemorySize(@Nullable Number value)
setMemorySize in interface FunctionProps@Nullable public List<software.amazon.awscdk.PolicyStatement> getInitialPolicy()
getInitialPolicy in interface FunctionPropspublic void setInitialPolicy(@Nullable List<software.amazon.awscdk.PolicyStatement> value)
setInitialPolicy in interface FunctionProps@Nullable public software.amazon.awscdk.services.iam.Role getRole()
getRole in interface FunctionPropspublic void setRole(@Nullable software.amazon.awscdk.services.iam.Role value)
setRole in interface FunctionPropsCopyright © 2018. All rights reserved.