Lambda Function
Serverless function.
Configuration
Section titled “Configuration”| Setting | Type | Required | Default |
|---|---|---|---|
| Function name | Text | Yes | — |
| Description | Text | — | — |
| Runtime Options: Node.js 20.x, Node.js 18.x, Python 3.12, Python 3.11, Python 3.10, Java 21, Java 17, Java 11, .NET 8, .NET 6, Go 1.x, Ruby 3.3, Ruby 3.2, Custom (Amazon Linux 2023), Custom (Amazon Linux 2) | Choice | Yes | nodejs20.x |
| Architecture Options: x86_64, arm64 (Graviton2) | Choice | — | x86_64 |
| Memory (MB) | Number | — | 128 |
| Timeout (s) | Number | — | 3 |
| Reserved concurrency | Number | — | — |
| Package type Options: Zip, Container image | Choice | — | Zip |
| Handler | Text | — | — |
| Image URI (Image package type) | Text | — | — |
| Image command override | List | — | — |
| Image entry point override | List | — | — |
| Image working directory | Text | — | — |
| X-Ray active tracing | Toggle | — | false |
| Layer ARNs | List | — | — |
| VPC subnet IDs | List | — | — |
| VPC security group IDs | List | — | — |
| Environment variables | Key–value | — | — |
| KMS key ARN (env var encryption) | Text | — | — |
| Dead letter queue ARN | Text | — | — |
| Ephemeral /tmp (MB) | Number | — | 512 |
| SnapStart (Java) Options: Disabled, Published versions | Choice | — | None |
| Log format Options: Plain text, JSON (structured) | Choice | — | Text |
| Application log level Options: TRACE, DEBUG, INFO, WARN, ERROR, FATAL | Choice | — | INFO |
| System log level Options: DEBUG, INFO, WARN | Choice | — | INFO |
| Custom log group name | Text | — | — |
| Replace SGs on destroy | Toggle | — | false |
| Code signing config ARN | Text | — | — |
| IPv6 (dual-stack VPC) Options: Allowed, Disallowed | Choice | — | false |
| Async invoke max retries | Number | — | 2 |
| Async invoke max age (s) | Number | — | 21600 |
| On-success destination ARN | Text | — | — |
| On-failure destination ARN | Text | — | — |
| Code S3 bucket (Zip from S3) | Text | — | — |
| Code S3 key | Text | — | — |
| Code S3 object version | Text | — | — |
| EFS access point ARN (VPC only) | Text | — | — |
| EFS mount path | Text | — | — |
| Tags | Key–value | — | — |
Connections
Section titled “Connections”| Socket | Direction | Accepts | Terraform arg |
|---|---|---|---|
| Trigger | Input | any | — |
| Execution role | Input | aws.iam-role | role |
| Layersmulti | Input | aws.lambda-layer | layers |
| VPC subnetsmulti | Input | aws.subnet | vpc_config.subnet_ids |
| VPC security groupsmulti | Input | aws.security-group | vpc_config.security_group_ids |
| Dead letter target | Input | aws.sqs, aws.sns | dead_letter_config.target_arn |
| Downstream | Output | any | — |