Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.66 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.66 KB

api-lambda-v2

Exposes a python lambda function as a HTTP API using API gateway v2. Lambda function code must be in a public github repo.

Depends on

Releases

There have been no releases yet for this module

Variables

Name Type Description Default Value
aws_region string region where provisioning should happen ``
api_name string name of api ``
function_name string name of lambda function ``
handler string name of handler function ``
runtime string rumtime for the lambda function python3.8
timeout number how many seconds should the function be allowed to run for 20
memory number how many MB of memory should be allocated to the function 128
code_repository string URL for code to be deployed for the API ``
execution_role_policies list(string) list of arns for policies which should be attached to the lambda function execution role []
environment_variables map(string) map of environment variables passed to the function {}
jwt_issuer string Should we enable a JWT authoriser and if so what issuer should we use, if blank no authoriser is created ``
jwt_audience set(string) What audience should we look for on the JWT (aud) []
custom_domain_name string name of the custom domain to associate to the API, leave blank if one is not needed ``
lambda_builder_tag string what version of the lambda-builder container image should be used, it defaults to latest latest

Outputs

Name Description
base_url