Class Runtime
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.synthetics.alpha.Runtime
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-16T19:21:20.000Z")
@Stability(Deprecated)
@Deprecated
public class Runtime
extends software.amazon.jsii.JsiiObject
Deprecated.
(deprecated) Runtime options for a canary.
Example:
Canary canary = Canary.Builder.create(this, "MyCanary")
.schedule(Schedule.rate(Duration.minutes(5)))
.test(Test.custom(CustomTestOptions.builder()
.code(Code.fromAsset(join(__dirname, "canary")))
.handler("index.handler")
.build()))
.runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_4_0)
.environmentVariables(Map.of(
"stage", "prod"))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RuntimeDeprecated.Use the latest version insteadstatic final RuntimeDeprecated.Use the latest version insteadstatic final RuntimeDeprecated.Use the latest version insteadstatic final RuntimeDeprecated.Use the latest version insteadstatic final RuntimeDeprecated.Use the latest version insteadstatic final RuntimeDeprecated.Use the latest version insteadstatic final RuntimeDeprecated.Use the latest version insteadstatic final RuntimeDeprecated.Use the latest version insteadstatic final RuntimeDeprecated.Use the latest version insteadstatic final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated.static final RuntimeDeprecated. -
Constructor Summary
ConstructorsModifierConstructorDescriptionRuntime(String name, RuntimeFamily family) Deprecated.protectedRuntime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedRuntime(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
SYNTHETICS_1_0
Deprecated.Use the latest version instead(deprecated) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..syn-1.0includes the following:- Synthetics library 1.0
- Synthetics handler code 1.0
- Lambda runtime Node.js 10.x
- Puppeteer-core version 1.14.0
- The Chromium version that matches Puppeteer-core 1.14.0
- See Also:
-
SYNTHETICS_NODEJS_2_0
Deprecated.Use the latest version instead(deprecated) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..syn-nodejs-2.0includes the following:- Lambda runtime Node.js 10.x
- Puppeteer-core version 3.3.0
- Chromium version 83.0.4103.0
- See Also:
-
SYNTHETICS_NODEJS_2_1
Deprecated.Use the latest version instead(deprecated) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..syn-nodejs-2.1includes the following:- Lambda runtime Node.js 10.x
- Puppeteer-core version 3.3.0
- Chromium version 83.0.4103.0
- See Also:
-
SYNTHETICS_NODEJS_2_2
Deprecated.Use the latest version instead(deprecated) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..syn-nodejs-2.2includes the following:- Lambda runtime Node.js 10.x
- Puppeteer-core version 3.3.0
- Chromium version 83.0.4103.0
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_0
Deprecated.Use the latest version instead(deprecated) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..syn-nodejs-puppeteer-3.0includes the following:- Lambda runtime Node.js 12.x
- Puppeteer-core version 5.5.0
- Chromium version 88.0.4298.0
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_1
Deprecated.Use the latest version instead(deprecated) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..syn-nodejs-puppeteer-3.1includes the following:- Lambda runtime Node.js 12.x
- Puppeteer-core version 5.5.0
- Chromium version 88.0.4298.0
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_2
Deprecated.Use the latest version instead(deprecated) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..syn-nodejs-puppeteer-3.2includes the following:- Lambda runtime Node.js 12.x
- Puppeteer-core version 5.5.0
- Chromium version 88.0.4298.0
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_3
Deprecated.Use the latest version instead(deprecated)syn-nodejs-puppeteer-3.3includes the following: Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..- Lambda runtime Node.js 12.x
- Puppeteer-core version 5.5.0
- Chromium version 88.0.4298.0
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_4
Deprecated.Use the latest version instead(deprecated) Deprecated by AWS Synthetics. You can't create canaries with deprecated runtimes..syn-nodejs-puppeteer-3.4includes the following:- Lambda runtime Node.js 12.x
- Puppeteer-core version 5.5.0
- Chromium version 88.0.4298.0
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_5
Deprecated.(deprecated)syn-nodejs-puppeteer-3.5includes the following: - Lambda runtime Node.js 14.x - Puppeteer-core version 10.1.0 - Chromium version 92.0.4512.- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_6
Deprecated.(deprecated)syn-nodejs-puppeteer-3.6includes the following: - Lambda runtime Node.js 14.x - Puppeteer-core version 10.1.0 - Chromium version 92.0.4512.- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_7
Deprecated.(deprecated)syn-nodejs-puppeteer-3.7includes the following: - Lambda runtime Node.js 14.x - Puppeteer-core version 10.1.0 - Chromium version 92.0.4512.New Features:
- Logging enhancement: The canary will upload logs to Amazon S3 even if it times out or crashes.
- Lambda layer size reduced: The size of the Lambda layer used for canaries is reduced by 34%.
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_8
Deprecated.(deprecated)syn-nodejs-puppeteer-3.8includes the following: - Lambda runtime Node.js 14.x - Puppeteer-core version 10.1.0 - Chromium version 92.0.4512.New Features:
- Profile cleanup: Chromium profiles are now cleaned up after each canary run.
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_3_9
Deprecated.(deprecated)syn-nodejs-puppeteer-3.9includes the following:.- Lambda runtime Node.js 14.x
- Puppeteer-core version 5.5.0
- Chromium version 92.0.4512
New Features:
- Dependency upgrades: Upgrades some third-party dependency packages.
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_4_0
Deprecated.(deprecated)syn-nodejs-puppeteer-4.0includes the following: - Lambda runtime Node.js 16.x - Puppeteer-core version 5.5.0 - Chromium version 92.0.4512.New Features:
- Dependency upgrades: The Node.js dependency is updated to 16.x.
- See Also:
-
SYNTHETICS_NODEJS_PUPPETEER_5_0
Deprecated.(deprecated)syn-nodejs-puppeteer-5.0includes 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 Also:
-
SYNTHETICS_NODEJS_PUPPETEER_5_1
Deprecated.(deprecated)syn-nodejs-puppeteer-5.1includes 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.0where the HAR files created by the canaries were missing request headers.
- See Also:
- Bug fix: This runtime fixes a bug in
-
SYNTHETICS_PYTHON_SELENIUM_1_0
Deprecated.(deprecated)syn-python-selenium-1.0includes the following: - Lambda runtime Python 3.8 - Selenium version 3.141.0 - Chromium version 83.0.4103.0.- See Also:
-
SYNTHETICS_PYTHON_SELENIUM_1_1
Deprecated.(deprecated)syn-python-selenium-1.1includes the following: - Lambda runtime Python 3.8 - Selenium version 3.141.0 - Chromium version 83.0.4103.0.New Features:
- Custom handler function: You can now use a custom handler function for your canary scripts.
- Configuration options for adding metrics and step failure configurations: These options were already available in runtimes for Node.js canaries.
- Custom arguments in Chrome: You can now open a browser in incognito mode or pass in proxy server configuration.
- Cross-Region artifact buckets: A canary can store its artifacts in an Amazon S3 bucket in a different Region.
- See Also:
-
SYNTHETICS_PYTHON_SELENIUM_1_2
Deprecated.(deprecated)syn-python-selenium-1.2includes the following: - Lambda runtime Python 3.8 - Selenium version 3.141.0 - Chromium version 92.0.4512.0.New Features:
- Updated dependencies: The only new features in this runtime are the updated dependencies.
- See Also:
-
SYNTHETICS_PYTHON_SELENIUM_1_3
Deprecated.(deprecated)syn-python-selenium-1.3includes the following: - Lambda runtime Python 3.8 - Selenium version 3.141.0 - Chromium version 92.0.4512.0.New Features:
- More precise timestamps: The start time and stop time of canary runs are now precise to the millisecond.
- See Also:
-
-
Constructor Details
-
Runtime
protected Runtime(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Runtime
protected Runtime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
Runtime
@Stability(Deprecated) @Deprecated public Runtime(@NotNull String name, @NotNull RuntimeFamily family) Deprecated.- Parameters:
name- The name of the runtime version. This parameter is required.family- The Lambda runtime family. This parameter is required.
-
-
Method Details
-
getFamily
Deprecated.(deprecated) The Lambda runtime family. -
getName
Deprecated.(deprecated) The name of the runtime version.
-