java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.synthetics.Runtime
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.473Z") @Stability(Experimental) public class Runtime extends software.amazon.jsii.JsiiObject
(experimental) 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_3_1)
         .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

    Fields
    Modifier and Type
    Field
    Description
    static final Runtime
    (experimental) Deprecated by AWS Synthetics.
    static final Runtime
    (experimental) Deprecated by AWS Synthetics.
    static final Runtime
    (experimental) Deprecated by AWS Synthetics.
    static final Runtime
    (experimental) Deprecated by AWS Synthetics.
    static final Runtime
    (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.
    static final Runtime
    (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.
    static final Runtime
    (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.
    static final Runtime
    (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.
    static final Runtime
    (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.
    static final Runtime
    (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.
    static final Runtime
    (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.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Runtime(String name, RuntimeFamily family)
     
    protected
    Runtime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Runtime(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The Lambda runtime family.
    (experimental) The name of the runtime version.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson