@Generated(value="jsii-pacmak/0.10.5 (build 46bc9b0)", date="2019-05-06T20:53:37.757Z") public interface FunctionProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
FunctionProps.Builder
A builder for
FunctionProps |
static class |
FunctionProps.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
static FunctionProps.Builder |
builder() |
Boolean |
getAllowAllOutbound()
Whether to allow the Lambda to send all network traffic.
|
Code |
getCode()
The source code of your Lambda function.
|
software.amazon.awscdk.services.sqs.IQueue |
getDeadLetterQueue()
The SQS queue to use if DLQ is enabled.
|
Boolean |
getDeadLetterQueueEnabled()
Enabled DLQ.
|
String |
getDescription()
A description of the function.
|
Map<String,Object> |
getEnvironment()
Key-value pairs that Lambda caches and makes available for your Lambda functions.
|
List<IEventSource> |
getEvents()
Event sources for this function.
|
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.services.iam.PolicyStatement> |
getInitialPolicy()
Initial policy statements to add to the created Lambda Role.
|
List<ILayerVersion> |
getLayers()
A list of layers to add to the function's execution environment.
|
software.amazon.awscdk.services.logs.RetentionDays |
getLogRetentionDays()
The number of days log events are kept in CloudWatch Logs.
|
Number |
getMemorySize()
The amount of memory, in MB, that is allocated to your Lambda function.
|
Number |
getReservedConcurrentExecutions()
The maximum of concurrent executions you want to reserve for the function.
|
software.amazon.awscdk.services.iam.IRole |
getRole()
Lambda execution role.
|
Runtime |
getRuntime()
The runtime environment for the Lambda function that you are uploading.
|
software.amazon.awscdk.services.ec2.ISecurityGroup |
getSecurityGroup()
What security group to associate with the Lambda's network interfaces.
|
Number |
getTimeout()
The function execution time (in seconds) after which Lambda terminates the function.
|
Tracing |
getTracing()
Enable AWS X-Ray Tracing for Lambda Function.
|
software.amazon.awscdk.services.ec2.IVpcNetwork |
getVpc()
VPC network to place Lambda network interfaces.
|
software.amazon.awscdk.services.ec2.SubnetSelection |
getVpcSubnets()
Where to place the network interfaces within the VPC.
|
Code getCode()
String getHandler()
Runtime getRuntime()
Boolean getAllowAllOutbound()
software.amazon.awscdk.services.sqs.IQueue getDeadLetterQueue()
Boolean getDeadLetterQueueEnabled()
String getDescription()
Map<String,Object> getEnvironment()
List<IEventSource> getEvents()
String getFunctionName()
List<software.amazon.awscdk.services.iam.PolicyStatement> getInitialPolicy()
List<ILayerVersion> getLayers()
software.amazon.awscdk.services.logs.RetentionDays getLogRetentionDays()
Number getMemorySize()
Number getReservedConcurrentExecutions()
https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.htmlsoftware.amazon.awscdk.services.iam.IRole getRole()
software.amazon.awscdk.services.ec2.ISecurityGroup getSecurityGroup()
Number getTimeout()
Tracing getTracing()
software.amazon.awscdk.services.ec2.IVpcNetwork getVpc()
software.amazon.awscdk.services.ec2.SubnetSelection getVpcSubnets()
static FunctionProps.Builder builder()
FunctionProps.Builder of FunctionPropsCopyright © 2019. All rights reserved.