Skip to content

Commit

Permalink
docs(aws-lambda-nodejs): Add note on usage as lambda@edge
Browse files Browse the repository at this point in the history
  • Loading branch information
corollari committed Aug 5, 2020
1 parent 406e556 commit 65af534
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-lambda-nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ All other properties of `lambda.Function` are supported, see also the [AWS Lambd

The `NodejsFunction` construct automatically [reuses existing connections](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-reusing-connections.html)
when working with the AWS SDK for JavaScript. Set the `awsSdkConnectionReuse` prop to `false` to disable it.
This must be disabled when the function is meant to be used as a lambda@edge.

Use the `containerEnvironment` prop to pass environments variables to the Docker container
running Parcel:
Expand Down

0 comments on commit 65af534

Please sign in to comment.