Whether to allow the Lambda to send all network traffic.
Lambda Functions in a public subnet can NOT access the internet.
The system architectures compatible with this lambda function.
Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript.
Code signing config associated with this function.
Options for the lambda.Version resource automatically created by the fn.currentVersion method.
NodejsFunction.Builder.deadLetterQueue(software.amazon.awscdk.services.sqs.IQueue deadLetterQueue)
The SQS queue to use if DLQ is enabled.
NodejsFunction.Builder.deadLetterTopic(software.amazon.awscdk.services.sns.ITopic deadLetterTopic)
The SNS topic to use as a DLQ.
The path to the dependencies lock file (yarn.lock or package-lock.json).
A description of the function.
Path to the entry file (JavaScript or TypeScript).
Key-value pairs that Lambda caches and makes available for your Lambda functions.
NodejsFunction.Builder.environmentEncryption(software.amazon.awscdk.services.kms.IKey environmentEncryption)
The AWS KMS key that's used to encrypt your function's environment variables.
The size of the function’s /tmp directory in MiB.
Event sources for this function.
The filesystem configuration for the lambda function.
The name of the exported handler in the entry file.
NodejsFunction.Builder.initialPolicy(List<? extends software.amazon.awscdk.services.iam.PolicyStatement> initialPolicy)
Initial policy statements to add to the created Lambda Role.
Specify the version of CloudWatch Lambda insights to use for monitoring.
A list of layers to add to the function's execution environment.
NodejsFunction.Builder.logRetention(software.amazon.awscdk.services.logs.RetentionDays logRetention)
The number of days log events are kept in CloudWatch Logs.
When log retention is specified, a custom resource attempts to create the CloudWatch log group.
NodejsFunction.Builder.logRetentionRole(software.amazon.awscdk.services.iam.IRole logRetentionRole)
The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
The maximum age of a request that Lambda sends to a function for processing.
The amount of memory, in MB, that is allocated to your Lambda function.
The destination for failed invocations.
The destination for successful invocations.
NodejsFunction.Builder.profilingGroup(software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup profilingGroup)
The path to the directory containing project config files (package.json or tsconfig.json).
The maximum of concurrent executions you want to reserve for the function.
The maximum number of times to retry when the function returns an error.
NodejsFunction.Builder.role(software.amazon.awscdk.services.iam.IRole role)
NodejsFunction.Builder.securityGroup(software.amazon.awscdk.services.ec2.ISecurityGroup securityGroup)
NodejsFunction.Builder.securityGroups(List<? extends software.amazon.awscdk.services.ec2.ISecurityGroup> securityGroups)
The list of security groups to associate with the Lambda's network interfaces.
The function execution time (in seconds) after which Lambda terminates the function.
Enable AWS X-Ray Tracing for Lambda Function.
NodejsFunction.Builder.vpc(software.amazon.awscdk.services.ec2.IVpc vpc)
VPC network to place Lambda network interfaces.
NodejsFunction.Builder.vpcSubnets(software.amazon.awscdk.services.ec2.SubnetSelection vpcSubnets)
Where to place the network interfaces within the VPC.
architecture