Skip to content

Using Lambda function URL ​

Use function.url to automatically configure a Lambda function URL. When deploying your function, the function URL will be printed to the console.

Properties ​

authType ​

Can be none or iam.

cors ​

CORS configuration. You can also use cors: true to set up an all-star wildcard "don't care" CORS config.

invokeMode ​

Can be buffered or stream. buffered is the default behaviour.

stream uses AWS Lambda response streaming.

Example ​

json
{
  "function": {
    "url": {
      "authType": "none",
      "invokeMode": "buffered",
      "cors": {
        "origins": ["*"],
        "methods": ["POST"]
      }
    }
  }
}