awsdocs / aws-cdk-guide

User guide for the AWS Cloud Development Kit (CDK).
Other
327 stars 222 forks source link

fix: Update AWS Lambda runtime to NODEJS_18_X and use AWS JS SDK v3. … #451

Closed markusl closed 1 year ago

markusl commented 1 year ago

Fixes #450

Description of changes: Update AWS Lambda runtime to NODEJS_18_X and use AWS JS SDK v3

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

lizsnyder commented 1 year ago

@markusl Your changes have propagated: https://docs.aws.amazon.com/cdk/v2/guide/serverless_example.html

For everything except the sample under "Create a Lambda function to list all widgets". That required a convoluted process to get the sample updated. I've kicked it off here: https://github.com/awsdocs/aws-doc-sdk-examples/pull/4663

Might be a bit of a delay as I work it out with the SDK code examples team. Will keep you updated

lizsnyder commented 1 year ago

Docs are updated: https://docs.aws.amazon.com/cdk/v2/guide/serverless_example.html#serverless_example_create_iam_function