Skip to content

Commit

Permalink
removed newly added line
Browse files Browse the repository at this point in the history
  • Loading branch information
khushail committed Oct 21, 2024
1 parent 6ee242a commit 70bd712
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/aws-cdk-lib/aws-lambda-nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ new nodejs.NodejsFunction(this, 'my-handler', {
},
});
```
Includes AWS SDK in the bundle asset by setting `bundleAwsSDK` to `true`. This will exclude SDK from the external module and would not be resolved to Lambda provided SDK. When SDK is bundled with the function code, the cold starts are as low as Node.js runtime, as it has to read single file without any module resolution.

Includes AWS SDK in the bundle asset by setting `bundleAwsSDK` to `true`. This will exclude SDK from the external module and would not be resolved to Lambda provided SDK.
```ts
new nodejs.NodejsFunction(this, 'my-handler', {
bundling: {
Expand Down

0 comments on commit 70bd712

Please sign in to comment.