| Key | Value |
|---|---|
| Services | Lambda |
| Integrations | AWS CLI, Terraform |
| Categories | Serverless; REST API |
A demo application illustrating how to create a Python Lambda function with a function URL using LocalStack. Lambda function URLs provide a dedicated HTTP(S) endpoint for invoking a Lambda function directly without an API Gateway.
- A valid LocalStack for AWS license. Your license provides a
LOCALSTACK_AUTH_TOKENto activate LocalStack. - Docker
localstackCLIawslocalCLI- Python 3
make checkmake installexport LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make startmake runThe script:
- Packages the Lambda function with its dependencies.
- Creates the Lambda function in LocalStack.
- Configures a function URL with no authentication.
This code is available under the Apache 2.0 license.