Skip to content

Commit

Permalink
fix(lambda): @deprecated tag to deprecated runtimes (#29081)
Browse files Browse the repository at this point in the history
### 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#runtime-support-policy).

### 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*
  • Loading branch information
kdnakt authored Feb 12, 2024
1 parent 683d595 commit 2503f68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/aws-cdk-lib/aws-lambda/lib/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export class Runtime {

/**
* The Python 3.7 runtime (python3.7)
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python runtime.
*/
public static readonly PYTHON_3_7 = new Runtime('python3.7', RuntimeFamily.PYTHON, {
supportsInlineCode: true,
Expand Down Expand Up @@ -183,6 +184,7 @@ export class Runtime {

/**
* The Java 8 runtime (java8)
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Java runtime.
*/
public static readonly JAVA_8 = new Runtime('java8', RuntimeFamily.JAVA, {
supportsCodeGuruProfiling: true,
Expand Down Expand Up @@ -262,6 +264,7 @@ export class Runtime {

/**
* The Ruby 2.7 runtime (ruby2.7)
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Ruby runtime.
*/
public static readonly RUBY_2_7 = new Runtime('ruby2.7', RuntimeFamily.RUBY);

Expand Down

0 comments on commit 2503f68

Please sign in to comment.