Skip to content

Commit 30602c1

Browse files
authored
chore(lambda): declare dotnetcore3.1 deprecated (#22969)
---- source: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html chore(lambda): declare dotnetcore3.1 deprecated ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 74975b5 commit 30602c1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

+5-4
Original file line numberDiff line numberDiff line change
@@ -161,24 +161,25 @@ export class Runtime {
161161

162162
/**
163163
* The .NET Core 1.0 runtime (dotnetcore1.0)
164-
* Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
164+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
165165
*/
166166
public static readonly DOTNET_CORE_1 = new Runtime('dotnetcore1.0', RuntimeFamily.DOTNET_CORE);
167167

168168
/**
169169
* The .NET Core 2.0 runtime (dotnetcore2.0)
170-
* Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
170+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
171171
*/
172172
public static readonly DOTNET_CORE_2 = new Runtime('dotnetcore2.0', RuntimeFamily.DOTNET_CORE);
173173

174174
/**
175175
* The .NET Core 2.1 runtime (dotnetcore2.1)
176-
* Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
176+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
177177
*/
178178
public static readonly DOTNET_CORE_2_1 = new Runtime('dotnetcore2.1', RuntimeFamily.DOTNET_CORE);
179179

180180
/**
181181
* The .NET Core 3.1 runtime (dotnetcore3.1)
182+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
182183
*/
183184
public static readonly DOTNET_CORE_3_1 = new Runtime('dotnetcore3.1', RuntimeFamily.DOTNET_CORE);
184185

@@ -189,7 +190,7 @@ export class Runtime {
189190

190191
/**
191192
* The Ruby 2.5 runtime (ruby2.5)
192-
* Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Ruby runtime.
193+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Ruby runtime.
193194
*/
194195
public static readonly RUBY_2_5 = new Runtime('ruby2.5', RuntimeFamily.RUBY);
195196

0 commit comments

Comments
 (0)