Class Runtime
Runtime options for a canary.
Namespace: Amazon.CDK.AWS.Synthetics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Runtime : DeputyBase
Syntax (vb)
Public Class Runtime Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
var canary = new Canary(this, "MyCanary", new CanaryProps {
Schedule = Schedule.Rate(Duration.Minutes(5)),
Test = Test.Custom(new CustomTestOptions {
Code = Code.FromAsset(Join(__dirname, "canary")),
Handler = "index.handler"
}),
Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_7_0,
ResourcesToReplicateTags = new [] { ResourceToReplicateTags.LAMBDA_FUNCTION }
});
Synopsis
Constructors
Runtime(string, RuntimeFamily) | Runtime options for a canary. |
Properties
Family | The Lambda runtime family. |
Name | The name of the runtime version. |
SYNTHETICS_NODEJS_PLAYWRIGHT_1_0 |
|
SYNTHETICS_NODEJS_PLAYWRIGHT_2_0 |
|
SYNTHETICS_NODEJS_PUPPETEER_3_5 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_3_6 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_3_7 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_3_8 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_3_9 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_4_0 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_5_0 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_5_1 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_5_2 |
|
SYNTHETICS_NODEJS_PUPPETEER_6_0 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_6_1 | (deprecated) |
SYNTHETICS_NODEJS_PUPPETEER_6_2 |
|
SYNTHETICS_NODEJS_PUPPETEER_7_0 |
|
SYNTHETICS_NODEJS_PUPPETEER_8_0 |
|
SYNTHETICS_NODEJS_PUPPETEER_9_0 |
|
SYNTHETICS_NODEJS_PUPPETEER_9_1 |
|
SYNTHETICS_PYTHON_SELENIUM_1_0 | (deprecated) |
SYNTHETICS_PYTHON_SELENIUM_1_1 | (deprecated) |
SYNTHETICS_PYTHON_SELENIUM_1_2 | (deprecated) |
SYNTHETICS_PYTHON_SELENIUM_1_3 | (deprecated) |
SYNTHETICS_PYTHON_SELENIUM_2_0 | (deprecated) |
SYNTHETICS_PYTHON_SELENIUM_2_1 |
|
SYNTHETICS_PYTHON_SELENIUM_3_0 |
|
SYNTHETICS_PYTHON_SELENIUM_4_0 |
|
SYNTHETICS_PYTHON_SELENIUM_4_1 |
|
SYNTHETICS_PYTHON_SELENIUM_5_0 |
|
SYNTHETICS_PYTHON_SELENIUM_5_1 |
|
SYNTHETICS_PYTHON_SELENIUM_6_0 |
|
Constructors
Runtime(string, RuntimeFamily)
Runtime options for a canary.
public Runtime(string name, RuntimeFamily family)
Parameters
- name string
The name of the runtime version.
- family RuntimeFamily
The Lambda runtime family.
Remarks
ExampleMetadata: infused
Properties
Family
The Lambda runtime family.
public virtual RuntimeFamily Family { get; }
Property Value
Remarks
ExampleMetadata: infused
Name
The name of the runtime version.
public virtual string Name { get; }
Property Value
Remarks
ExampleMetadata: infused
SYNTHETICS_NODEJS_PLAYWRIGHT_1_0
syn-nodejs-playwright-1.0
includes the following: - Lambda runtime Node.js 20.x - Playwright version 1.45 - Chromium version 126.0.6478.126.
public static Runtime SYNTHETICS_NODEJS_PLAYWRIGHT_1_0 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PLAYWRIGHT_2_0
syn-nodejs-playwright-2.0
includes the following: - Lambda runtime Node.js 20.x - Playwright version 1.49.1 - Chromium version 131.0.6778.264.
public static Runtime SYNTHETICS_NODEJS_PLAYWRIGHT_2_0 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_5
(deprecated) syn-nodejs-puppeteer-3.5
includes the following: - Lambda runtime Node.js 14.x - Puppeteer-core version 5.5.0 - Chromium version 92.0.4512.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_5 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_6
(deprecated) syn-nodejs-puppeteer-3.6
includes the following: - Lambda runtime Node.js 14.x - Puppeteer-core version 5.5.0 - Chromium version 92.0.4512.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_6 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_7
(deprecated) syn-nodejs-puppeteer-3.7
includes the following: - Lambda runtime Node.js 14.x - Puppeteer-core version 5.5.0 - Chromium version 92.0.4512.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_7 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_8
(deprecated) syn-nodejs-puppeteer-3.8
includes the following: - Lambda runtime Node.js 14.x - Puppeteer-core version 10.1.0 - Chromium version 92.0.4512.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_8 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_9
(deprecated) syn-nodejs-puppeteer-3.9
includes the following:.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_9 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_4_0
(deprecated) syn-nodejs-puppeteer-4.0
includes the following: - Lambda runtime Node.js 16.x - Puppeteer-core version 5.5.0 - Chromium version 92.0.4512.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_4_0 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_5_0
(deprecated) 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.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_5_0 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_5_1
(deprecated) 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.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_5_1 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_5_2
syn-nodejs-puppeteer-5.2
includes the following: - Lambda runtime Node.js 16.x - Puppeteer-core version 19.7.0 - Chromium version 111.0.5563.146.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_5_2 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_6_0
(deprecated) syn-nodejs-puppeteer-6.0
includes the following: - Lambda runtime Node.js 18.x - Puppeteer-core version 19.7.0 - Chromium version 111.0.5563.146.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_6_0 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_6_1
(deprecated) syn-nodejs-puppeteer-6.1
includes the following: - Lambda runtime Node.js 18.x - Puppeteer-core version 19.7.0 - Chromium version 111.0.5563.146.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS Puppeteer runtime.")]
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_6_1 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_6_2
syn-nodejs-puppeteer-6.2
includes the following: - Lambda runtime Node.js 18.x - Puppeteer-core version 19.7.0 - Chromium version 111.0.5563.146.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_6_2 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_7_0
syn-nodejs-puppeteer-7.0
includes the following: - Lambda runtime Node.js 18.x - Puppeteer-core version 21.9.0 - Chromium version 121.0.6167.139.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_7_0 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_8_0
syn-nodejs-puppeteer-8.0
includes the following: - Lambda runtime Node.js 20.x - Puppeteer-core version 22.10.0 - Chromium version 125.0.6422.112.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_8_0 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_9_0
syn-nodejs-puppeteer-9.0
includes the following: - Lambda runtime Node.js 20.x - Puppeteer-core version 22.12.1 - Chromium version 126.0.6478.126.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_9_0 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_9_1
syn-nodejs-puppeteer-9.1
includes the following: - Lambda runtime Node.js 20.x - Puppeteer-core version 22.12.1 - Chromium version 126.0.6478.126.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_9_1 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_1_0
(deprecated) syn-python-selenium-1.0
includes the following: - Lambda runtime Python 3.8 - Selenium version 3.141.0 - Chromium version 83.0.4103.0.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python Selenium runtime.")]
public static Runtime SYNTHETICS_PYTHON_SELENIUM_1_0 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_1_1
(deprecated) syn-python-selenium-1.1
includes the following: - Lambda runtime Python 3.8 - Selenium version 3.141.0 - Chromium version 83.0.4103.0.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python Selenium runtime.")]
public static Runtime SYNTHETICS_PYTHON_SELENIUM_1_1 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_1_2
(deprecated) syn-python-selenium-1.2
includes the following: - Lambda runtime Python 3.8 - Selenium version 3.141.0 - Chromium version 92.0.4512.0.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python Selenium runtime.")]
public static Runtime SYNTHETICS_PYTHON_SELENIUM_1_2 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_1_3
(deprecated) syn-python-selenium-1.3
includes the following: - Lambda runtime Python 3.8 - Selenium version 3.141.0 - Chromium version 92.0.4512.0.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python Selenium runtime.")]
public static Runtime SYNTHETICS_PYTHON_SELENIUM_1_3 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_2_0
(deprecated) syn-python-selenium-2.0
includes the following: - Lambda runtime Python 3.8 - Selenium version 4.10.0 - Chromium version 111.0.5563.146.
[Obsolete("Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python Selenium runtime.")]
public static Runtime SYNTHETICS_PYTHON_SELENIUM_2_0 { get; }
Property Value
Remarks
New Features:
Bug fixes:
Stability: Deprecated
SYNTHETICS_PYTHON_SELENIUM_2_1
syn-python-selenium-2.1
includes the following: - Lambda runtime Python 3.8 - Selenium version 4.15.1 - Chromium version 111.0.5563.146.
public static Runtime SYNTHETICS_PYTHON_SELENIUM_2_1 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_3_0
syn-python-selenium-3.0
includes the following: - Lambda runtime Python 3.8 - Selenium version 4.15.1 - Chromium version 121.0.6167.139.
public static Runtime SYNTHETICS_PYTHON_SELENIUM_3_0 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_4_0
syn-python-selenium-4.0
includes the following: - Lambda runtime Python 3.9 - Selenium version 4.15.1 - Chromium version 126.0.6478.126.
public static Runtime SYNTHETICS_PYTHON_SELENIUM_4_0 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_4_1
syn-python-selenium-4.1
includes the following: - Lambda runtime Python 3.9 - Selenium version 4.15.1 - Chromium version 126.0.6478.126.
public static Runtime SYNTHETICS_PYTHON_SELENIUM_4_1 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_5_0
syn-python-selenium-5.0
includes the following: - Lambda runtime Python 3.9 - Selenium version 4.21.0 - Chromium version 131.0.6778.264.
public static Runtime SYNTHETICS_PYTHON_SELENIUM_5_0 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_5_1
syn-python-selenium-5.1
includes the following: - Lambda runtime Python 3.9 - Selenium version 4.21.0 - Chromium version 131.0.6778.264.
public static Runtime SYNTHETICS_PYTHON_SELENIUM_5_1 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_6_0
syn-python-selenium-6.0
includes the following: - Lambda runtime Python 3.11 - Selenium version 4.21.0 - Chromium version 131.0.6778.264.
public static Runtime SYNTHETICS_PYTHON_SELENIUM_6_0 { get; }