Skip to content

Commit

Permalink
add deprecation notice to deprecated python and selenium synthetics r…
Browse files Browse the repository at this point in the history
…untimes
  • Loading branch information
gracelu0 committed Mar 14, 2024
1 parent 6fef789 commit 3f96f6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ export class Runtime {
* - Chromium version 83.0.4103.0
*
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-1.0
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python and Selenium runtime.
*/
public static readonly SYNTHETICS_PYTHON_SELENIUM_1_0 = new Runtime('syn-python-selenium-1.0', RuntimeFamily.PYTHON);

Expand All @@ -209,6 +210,7 @@ export class Runtime {
* - **Cross-Region artifact buckets**: A canary can store its artifacts in an Amazon S3 bucket in a different Region.
*
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-1.1
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python and Selenium runtime.
*/
public static readonly SYNTHETICS_PYTHON_SELENIUM_1_1 = new Runtime('syn-python-selenium-1.1', RuntimeFamily.PYTHON);

Expand All @@ -222,6 +224,7 @@ export class Runtime {
* - **Updated dependencies**: The only new features in this runtime are the updated dependencies.
*
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-1.2
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python and Selenium runtime.
*/
public static readonly SYNTHETICS_PYTHON_SELENIUM_1_2 = new Runtime('syn-python-selenium-1.2', RuntimeFamily.PYTHON);

Expand All @@ -235,6 +238,7 @@ export class Runtime {
* - **More precise timestamps**: The start time and stop time of canary runs are now precise to the millisecond.
*
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-1.3
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python and Selenium runtime.
*/
public static readonly SYNTHETICS_PYTHON_SELENIUM_1_3 = new Runtime('syn-python-selenium-1.3', RuntimeFamily.PYTHON);

Expand All @@ -252,6 +256,7 @@ export class Runtime {
* - **Timestamp added**: A timestamp has been added to canary logs.
* - **Session re-use**: A bug was fixed so that canaries are now prevented from reusing the session from their previous canary run.
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-2.0
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python and Selenium runtime.
*/
public static readonly SYNTHETICS_PYTHON_SELENIUM_2_0 = new Runtime('syn-python-selenium-2.0', RuntimeFamily.PYTHON);

Expand Down

0 comments on commit 3f96f6b

Please sign in to comment.