Skip to content

Commit 27619cc

Browse files
authored
fix(lambda): add @deprecated tag to python3.8 (#32162)
### Issue # (if applicable) Closes #<issue number here>. ### Reason for this change Updated according to [this document](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-deprecated). ### Description of changes ### Description of how you validated changes ### Checklist - [x] 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*
1 parent 2e75924 commit 27619cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/aws-cdk-lib/aws-lambda/lib/runtime.ts

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export class Runtime {
152152

153153
/**
154154
* The Python 3.8 runtime (python3.8)
155+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python runtime.
155156
*/
156157
public static readonly PYTHON_3_8 = new Runtime('python3.8', RuntimeFamily.PYTHON, {
157158
supportsInlineCode: true,

0 commit comments

Comments
 (0)