Skip to content

Commit

Permalink
chore(lambda-nodejs): grammatical correction in statement reg bundleA…
Browse files Browse the repository at this point in the history
…wsSDK (#31839)

### Issue # (if applicable)

Closes #31789

### Reason for this change

Comments had grammatical mistakes.

### Description of changes

Rephrased the sentence and added more clarifcation.

### Description of how you validated changes


No

### Checklist
- [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
khushail authored Oct 22, 2024
1 parent 491ae4e commit f1e2f3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/aws-cdk-lib/aws-lambda-nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,7 @@ new nodejs.NodejsFunction(this, 'my-handler', {
},
});
```
Includes AWS SDK in the bundle asset by setting `bundleAwsSDK` to `true`. This will be essentially exclude sdk from the external
module and not be resolved to the Lambda provided sdk.

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 f1e2f3b

Please sign in to comment.