Skip to content

Commit d11021d

Browse files
authoredMay 16, 2023
chore(synthetics): deprecate nodejs runtime versions 1 and 2 (aws#25599)
You can't create canaries using these runtimes anymore ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 4066f48 commit d11021d

File tree

1 file changed

+4
-0
lines changed
  • packages/@aws-cdk/aws-synthetics-alpha/lib

1 file changed

+4
-0
lines changed
 

‎packages/@aws-cdk/aws-synthetics-alpha/lib/runtime.ts

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export class Runtime {
3434
* - The Chromium version that matches Puppeteer-core 1.14.0
3535
*
3636
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html#CloudWatch_Synthetics_runtimeversion-1.0
37+
* @deprecated Use the latest version instead
3738
*/
3839
public static readonly SYNTHETICS_1_0 = new Runtime('syn-1.0', RuntimeFamily.NODEJS);
3940

@@ -46,6 +47,7 @@ export class Runtime {
4647
* - Chromium version 83.0.4103.0
4748
*
4849
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html#CloudWatch_Synthetics_runtimeversion-2.0
50+
* @deprecated Use the latest version instead
4951
*/
5052
public static readonly SYNTHETICS_NODEJS_2_0 = new Runtime('syn-nodejs-2.0', RuntimeFamily.NODEJS);
5153

@@ -59,6 +61,7 @@ export class Runtime {
5961
* - Chromium version 83.0.4103.0
6062
*
6163
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html#CloudWatch_Synthetics_runtimeversion-2.1
64+
* @deprecated Use the latest version instead
6265
*/
6366
public static readonly SYNTHETICS_NODEJS_2_1 = new Runtime('syn-nodejs-2.1', RuntimeFamily.NODEJS);
6467

@@ -71,6 +74,7 @@ export class Runtime {
7174
* - Chromium version 83.0.4103.0
7275
*
7376
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html#CloudWatch_Synthetics_runtimeversion-2.2
77+
* @deprecated Use the latest version instead
7478
*/
7579
public static readonly SYNTHETICS_NODEJS_2_2 = new Runtime('syn-nodejs-2.2', RuntimeFamily.NODEJS);
7680

0 commit comments

Comments
 (0)
Please sign in to comment.