Whether to allow the Lambda to send all network traffic.
Lambda Functions in a public subnet can NOT access the internet.
NodejsFunction.Builder.architecture(software.amazon.awscdk.services.lambda.Architecture architecture)
The system architectures compatible with this lambda function.
NodejsFunction.Builder.architectures(List<? extends software.amazon.awscdk.services.lambda.Architecture> architectures)
Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript.
NodejsFunction.Builder.codeSigningConfig(software.amazon.awscdk.services.lambda.ICodeSigningConfig codeSigningConfig)
Code signing config associated with this function.
NodejsFunction.Builder.create(software.amazon.awscdk.core.Construct scope,
String id)
NodejsFunction.Builder.currentVersionOptions(software.amazon.awscdk.services.lambda.VersionOptions currentVersionOptions)
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.
NodejsFunction.Builder.events(List<? extends software.amazon.awscdk.services.lambda.IEventSource> events)
Event sources for this function.
NodejsFunction.Builder.filesystem(software.amazon.awscdk.services.lambda.FileSystem filesystem)
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.
NodejsFunction.Builder.insightsVersion(software.amazon.awscdk.services.lambda.LambdaInsightsVersion insightsVersion)
Specify the version of CloudWatch Lambda insights to use for monitoring.
NodejsFunction.Builder.layers(List<? extends software.amazon.awscdk.services.lambda.ILayerVersion> layers)
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.
NodejsFunction.Builder.logRetentionRetryOptions(software.amazon.awscdk.services.lambda.LogRetentionRetryOptions logRetentionRetryOptions)
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.
NodejsFunction.Builder.maxEventAge(software.amazon.awscdk.core.Duration maxEventAge)
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.
NodejsFunction.Builder.onFailure(software.amazon.awscdk.services.lambda.IDestination onFailure)
The destination for failed invocations.
NodejsFunction.Builder.onSuccess(software.amazon.awscdk.services.lambda.IDestination onSuccess)
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.runtime(software.amazon.awscdk.services.lambda.Runtime runtime)
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.
NodejsFunction.Builder.timeout(software.amazon.awscdk.core.Duration timeout)
The function execution time (in seconds) after which Lambda terminates the function.
NodejsFunction.Builder.tracing(software.amazon.awscdk.services.lambda.Tracing tracing)
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.