Class Runtime
(experimental) Runtime options for a canary.
Inheritance
Namespace: Amazon.CDK.AWS.Synthetics
Assembly: Amazon.CDK.AWS.Synthetics.dll
Syntax (csharp)
public class Runtime : DeputyBase
Syntax (vb)
Public Class Runtime
Inherits DeputyBase
Remarks
Stability: Experimental
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_3_1,
EnvironmentVariables = new Dictionary<string, string> {
{ "stage", "prod" }
}
});
Synopsis
Constructors
Runtime(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Runtime(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Runtime(String, RuntimeFamily) |
Properties
Family | (experimental) The Lambda runtime family. |
Name | (experimental) The name of the runtime version. |
SYNTHETICS_1_0 | (experimental) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes.. |
SYNTHETICS_NODEJS_2_0 | (experimental) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes.. |
SYNTHETICS_NODEJS_2_1 | (experimental) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes.. |
SYNTHETICS_NODEJS_2_2 | (experimental) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes.. |
SYNTHETICS_NODEJS_PUPPETEER_3_0 | (experimental) |
SYNTHETICS_NODEJS_PUPPETEER_3_1 | (experimental) |
SYNTHETICS_NODEJS_PUPPETEER_3_2 | (experimental) |
SYNTHETICS_NODEJS_PUPPETEER_3_3 | (experimental) |
SYNTHETICS_NODEJS_PUPPETEER_3_4 | (experimental) |
SYNTHETICS_NODEJS_PUPPETEER_3_5 | (experimental) |
SYNTHETICS_PYTHON_SELENIUM_1_0 | (experimental) |
Constructors
Runtime(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Runtime(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Runtime(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Runtime(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Runtime(String, RuntimeFamily)
public Runtime(string name, RuntimeFamily family)
Parameters
- name System.String
The name of the runtime version.
- family RuntimeFamily
The Lambda runtime family.
Remarks
Stability: Experimental
Properties
Family
(experimental) The Lambda runtime family.
public virtual RuntimeFamily Family { get; }
Property Value
Remarks
Stability: Experimental
Name
(experimental) The name of the runtime version.
public virtual string Name { get; }
Property Value
System.String
Remarks
Stability: Experimental
SYNTHETICS_1_0
(experimental) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..
public static Runtime SYNTHETICS_1_0 { get; }
Property Value
Remarks
syn-1.0
includes the following:
Stability: Experimental
SYNTHETICS_NODEJS_2_0
(experimental) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..
public static Runtime SYNTHETICS_NODEJS_2_0 { get; }
Property Value
Remarks
syn-nodejs-2.0
includes the following:
Stability: Experimental
SYNTHETICS_NODEJS_2_1
(experimental) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..
public static Runtime SYNTHETICS_NODEJS_2_1 { get; }
Property Value
Remarks
syn-nodejs-2.1
includes the following:
Stability: Experimental
SYNTHETICS_NODEJS_2_2
(experimental) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..
public static Runtime SYNTHETICS_NODEJS_2_2 { get; }
Property Value
Remarks
syn-nodejs-2.2
includes the following:
Stability: Experimental
SYNTHETICS_NODEJS_PUPPETEER_3_0
(experimental) syn-nodejs-puppeteer-3.0
includes the following: - Lambda runtime Node.js 12.x - Puppeteer-core version 5.5.0 - Chromium version 88.0.4298.0.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_0 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_1
(experimental) syn-nodejs-puppeteer-3.1
includes the following: - Lambda runtime Node.js 12.x - Puppeteer-core version 5.5.0 - Chromium version 88.0.4298.0.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_1 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_2
(experimental) syn-nodejs-puppeteer-3.2
includes the following: - Lambda runtime Node.js 12.x - Puppeteer-core version 5.5.0 - Chromium version 88.0.4298.0.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_2 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_3
(experimental) syn-nodejs-puppeteer-3.3
includes the following: - Lambda runtime Node.js 12.x - Puppeteer-core version 5.5.0 - Chromium version 88.0.4298.0.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_3 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_4
(experimental) syn-nodejs-puppeteer-3.4
includes the following: - Lambda runtime Node.js 12.x - Puppeteer-core version 5.5.0 - Chromium version 88.0.4298.0.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_4 { get; }
Property Value
Remarks
SYNTHETICS_NODEJS_PUPPETEER_3_5
(experimental) syn-nodejs-puppeteer-3.5
includes the following: - Lambda runtime Node.js 14.x - Puppeteer-core version 10.1.0 - Chromium version 92.0.4512.
public static Runtime SYNTHETICS_NODEJS_PUPPETEER_3_5 { get; }
Property Value
Remarks
SYNTHETICS_PYTHON_SELENIUM_1_0
(experimental) syn-python-selenium-1.0
includes the following: - Lambda runtime Python 3.8 - Selenium version 3.141.0 - Chromium version 83.0.4103.0.
public static Runtime SYNTHETICS_PYTHON_SELENIUM_1_0 { get; }
Property Value
Remarks
Stability: Experimental