Uses of Class
software.amazon.awscdk.services.lambda.nodejs.NodejsFunction.Builder
Packages that use NodejsFunction.Builder
-
Uses of NodejsFunction.Builder in software.amazon.awscdk.services.lambda.nodejs
Methods in software.amazon.awscdk.services.lambda.nodejs that return NodejsFunction.BuilderModifier and TypeMethodDescriptionNodejsFunction.Builder.adotInstrumentation(AdotInstrumentationConfig adotInstrumentation) Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation.NodejsFunction.Builder.allowAllIpv6Outbound(Boolean allowAllIpv6Outbound) Whether to allow the Lambda to send all ipv6 network traffic.NodejsFunction.Builder.allowAllOutbound(Boolean allowAllOutbound) Whether to allow the Lambda to send all network traffic (except ipv6).NodejsFunction.Builder.allowPublicSubnet(Boolean allowPublicSubnet) Lambda Functions in a public subnet can NOT access the internet.NodejsFunction.Builder.applicationLogLevel(String applicationLogLevel) Deprecated.NodejsFunction.Builder.applicationLogLevelV2(ApplicationLogLevel applicationLogLevelV2) Sets the application log level for the function.NodejsFunction.Builder.architecture(Architecture architecture) The system architectures compatible with this lambda function.NodejsFunction.Builder.awsSdkConnectionReuse(Boolean awsSdkConnectionReuse) TheAWS_NODEJS_CONNECTION_REUSE_ENABLEDenvironment variable does not exist in the AWS SDK for JavaScript v3.NodejsFunction.Builder.bundling(BundlingOptions bundling) Bundling options.The code that will be deployed to the Lambda Handler.NodejsFunction.Builder.codeSigningConfig(ICodeSigningConfigRef codeSigningConfig) Code signing config associated with this function.static NodejsFunction.BuilderNodejsFunction.Builder.currentVersionOptions(VersionOptions currentVersionOptions) Options for thelambda.Versionresource automatically created by thefn.currentVersionmethod.NodejsFunction.Builder.deadLetterQueue(IQueue deadLetterQueue) The SQS queue to use if DLQ is enabled.NodejsFunction.Builder.deadLetterQueueEnabled(Boolean deadLetterQueueEnabled) Enabled DLQ.NodejsFunction.Builder.deadLetterTopic(ITopic deadLetterTopic) The SNS topic to use as a DLQ.NodejsFunction.Builder.depsLockFilePath(String depsLockFilePath) The path to the dependencies lock file (yarn.lock,pnpm-lock.yaml,bun.lockb,bun.lockorpackage-lock.json).NodejsFunction.Builder.description(String description) A description of the function.Path to the entry file (JavaScript or TypeScript).NodejsFunction.Builder.environment(Map<String, String> environment) Key-value pairs that Lambda caches and makes available for your Lambda functions.NodejsFunction.Builder.environmentEncryption(IKeyRef environmentEncryption) The AWS KMS key that's used to encrypt your function's environment variables.NodejsFunction.Builder.ephemeralStorageSize(Size ephemeralStorageSize) The size of the function’s /tmp directory in MiB.NodejsFunction.Builder.events(List<? extends IEventSource> events) Event sources for this function.NodejsFunction.Builder.filesystem(FileSystem filesystem) The filesystem configuration for the lambda function.NodejsFunction.Builder.functionName(String functionName) A name for the function.The name of the exported handler in the entry file.NodejsFunction.Builder.initialPolicy(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.NodejsFunction.Builder.insightsVersion(LambdaInsightsVersion insightsVersion) Specify the version of CloudWatch Lambda insights to use for monitoring.NodejsFunction.Builder.ipv6AllowedForDualStack(Boolean ipv6AllowedForDualStack) Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.NodejsFunction.Builder.layers(List<? extends ILayerVersion> layers) A list of layers to add to the function's execution environment.Deprecated.UseloggingFormatas a property instead.NodejsFunction.Builder.loggingFormat(LoggingFormat loggingFormat) Sets the loggingFormat for the function.The log group the function sends logs to.NodejsFunction.Builder.logRemovalPolicy(RemovalPolicy logRemovalPolicy) Deprecated.uselogGroupinsteadNodejsFunction.Builder.logRetention(RetentionDays logRetention) Deprecated.uselogGroupinsteadNodejsFunction.Builder.logRetentionRetryOptions(LogRetentionRetryOptions logRetentionRetryOptions) When log retention is specified, a custom resource attempts to create the CloudWatch log group.NodejsFunction.Builder.logRetentionRole(IRole logRetentionRole) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.NodejsFunction.Builder.maxEventAge(Duration maxEventAge) The maximum age of a request that Lambda sends to a function for processing.NodejsFunction.Builder.memorySize(Number memorySize) The amount of memory, in MB, that is allocated to your Lambda function.NodejsFunction.Builder.onFailure(IDestination onFailure) The destination for failed invocations.NodejsFunction.Builder.onSuccess(IDestination onSuccess) The destination for successful invocations.NodejsFunction.Builder.paramsAndSecrets(ParamsAndSecretsLayerVersion paramsAndSecrets) Specify the configuration of Parameters and Secrets Extension.Enable profiling.NodejsFunction.Builder.profilingGroup(IProfilingGroup profilingGroup) Profiling Group.NodejsFunction.Builder.projectRoot(String projectRoot) The path to the directory containing project config files (package.jsonortsconfig.json).NodejsFunction.Builder.recursiveLoop(RecursiveLoop recursiveLoop) Sets the Recursive Loop Protection for Lambda Function.NodejsFunction.Builder.reservedConcurrentExecutions(Number reservedConcurrentExecutions) The maximum of concurrent executions you want to reserve for the function.NodejsFunction.Builder.retryAttempts(Number retryAttempts) The maximum number of times to retry when the function returns an error.Lambda execution role.The runtime environment.NodejsFunction.Builder.runtimeManagementMode(RuntimeManagementMode runtimeManagementMode) Sets the runtime management configuration for a function's version.NodejsFunction.Builder.securityGroups(List<? extends ISecurityGroup> securityGroups) The list of security groups to associate with the Lambda's network interfaces.NodejsFunction.Builder.snapStart(SnapStartConf snapStart) Enable SnapStart for Lambda Function.NodejsFunction.Builder.systemLogLevel(String systemLogLevel) Deprecated.UsesystemLogLevelV2as a property instead.NodejsFunction.Builder.systemLogLevelV2(SystemLogLevel systemLogLevelV2) Sets the system log level for the function.The function execution time (in seconds) after which Lambda terminates the function.Enable AWS X-Ray Tracing for Lambda Function.VPC network to place Lambda network interfaces.NodejsFunction.Builder.vpcSubnets(SubnetSelection vpcSubnets) Where to place the network interfaces within the VPC.
applicationLogLevelV2as a property instead.