From 078e26aad3bacd31760c6b625331f01eba04644d Mon Sep 17 00:00:00 2001 From: Michael Sambol Date: Fri, 1 Sep 2023 04:47:47 -0500 Subject: [PATCH 1/2] chore(integ-tests-alpha): add redshift serverless to sdk api metadata (#26962) Closes #26952. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .../lib/assertions/providers/sdk-api-metadata.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/@aws-cdk/integ-tests-alpha/lib/assertions/providers/sdk-api-metadata.json b/packages/@aws-cdk/integ-tests-alpha/lib/assertions/providers/sdk-api-metadata.json index dbd7fbff66522..ccb516bc2ee37 100644 --- a/packages/@aws-cdk/integ-tests-alpha/lib/assertions/providers/sdk-api-metadata.json +++ b/packages/@aws-cdk/integ-tests-alpha/lib/assertions/providers/sdk-api-metadata.json @@ -1152,5 +1152,9 @@ "pinpointsmsvoicev2": { "prefix": "pinpoint-sms-voice-v2", "name": "PinpointSMSVoiceV2" + }, + "redshiftserverless": { + "prefix": "redshift-serverless", + "name": "RedshiftServerless" } -} \ No newline at end of file +} From 0a0b37c5ac5c38abe698f82f5e4f0e0f2cd051b7 Mon Sep 17 00:00:00 2001 From: Philip White Date: Fri, 1 Sep 2023 03:31:52 -0700 Subject: [PATCH 2/2] feat(synthetics-alpha): add latest two NodeJS runtimes (#26967) This adds the ability to use the latest two NodeJS runtimes in your Synthetics construct. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .../aws-synthetics-alpha/lib/runtime.ts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/packages/@aws-cdk/aws-synthetics-alpha/lib/runtime.ts b/packages/@aws-cdk/aws-synthetics-alpha/lib/runtime.ts index be557dc6f36f2..96b13746acbd9 100644 --- a/packages/@aws-cdk/aws-synthetics-alpha/lib/runtime.ts +++ b/packages/@aws-cdk/aws-synthetics-alpha/lib/runtime.ts @@ -216,6 +216,32 @@ export class Runtime { */ public static readonly SYNTHETICS_NODEJS_PUPPETEER_4_0 = new Runtime('syn-nodejs-puppeteer-4.0', RuntimeFamily.NODEJS); + /** + * `syn-nodejs-puppeteer-5.0` includes the following: + * - Lambda runtime Node.js 16.x + * - Puppeteer-core version 19.7.0 + * - Chromium version 111.0.5563.146 + * + * New Features: + * - **Dependency upgrade**: The Puppeteer-core version is updated to 19.7.0. The Chromium version is upgraded to 111.0.5563.146. + * + * @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html#CloudWatch_Synthetics_runtimeversion-nodejs-puppeteer-5.0 + */ + public static readonly SYNTHETICS_NODEJS_PUPPETEER_5_0 = new Runtime('syn-nodejs-puppeteer-5.0', RuntimeFamily.NODEJS); + + /** + * `syn-nodejs-puppeteer-5.1` includes the following: + * - Lambda runtime Node.js 16.x + * - Puppeteer-core version 19.7.0 + * - Chromium version 111.0.5563.146 + * + * Bug fixes: + * - **Bug fix**: This runtime fixes a bug in `syn-nodejs-puppeteer-5.0` where the HAR files created by the canaries were missing request headers. + * + * @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html#CloudWatch_Synthetics_runtimeversion-nodejs-puppeteer-5.1 + */ + public static readonly SYNTHETICS_NODEJS_PUPPETEER_5_1 = new Runtime('syn-nodejs-puppeteer-5.1', RuntimeFamily.NODEJS); + /** * `syn-python-selenium-1.0` includes the following: * - Lambda runtime Python 3.8