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.
(experimental) Bundling options.
Code signing config associated with this function.
Options for the lambda.Version resource automatically created by the fn.currentVersion method.
GoFunction.Builder.deadLetterQueue(software.amazon.awscdk.services.sqs.IQueue deadLetterQueue)
The SQS queue to use if DLQ is enabled.
GoFunction.Builder.deadLetterTopic(software.amazon.awscdk.services.sns.ITopic deadLetterTopic)
The SNS topic to use as a DLQ.
A description of the function.
(experimental) The path to the folder or file that contains the main application entry point files for the project.
Key-value pairs that Lambda caches and makes available for your Lambda functions.
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.
GoFunction.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.
GoFunction.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.
GoFunction.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.
(experimental) Directory containing your go.mod file.
The destination for failed invocations.
The destination for successful invocations.
GoFunction.Builder.profilingGroup(software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup profilingGroup)
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.
GoFunction.Builder.role(software.amazon.awscdk.services.iam.IRole role)
(experimental) The runtime environment.
GoFunction.Builder.securityGroup(software.amazon.awscdk.services.ec2.ISecurityGroup securityGroup)
GoFunction.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.
GoFunction.Builder.vpc(software.amazon.awscdk.services.ec2.IVpc vpc)
VPC network to place Lambda network interfaces.
GoFunction.Builder.vpcSubnets(software.amazon.awscdk.services.ec2.SubnetSelection vpcSubnets)
Where to place the network interfaces within the VPC.
architecture