@Stability(value=Stable) @Internal public static final class CfnCanary.CodeProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCanary.CodeProperty
CfnCanary.CodePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnCanary.CodeProperty.Builder, CfnCanary.CodeProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnCanary.CodeProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnCanary.ArtifactConfigProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getHandler()
The entry point to use for the source code when running the canary.
|
String |
getS3Bucket()
If your canary script is located in S3, specify the bucket name here.
|
String |
getS3Key()
The S3 key of your script.
|
String |
getS3ObjectVersion()
The S3 version ID of your script.
|
String |
getScript()
If you input your canary script directly into the canary instead of referring to an S3 location, the value of this parameter is the script in plain text.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnCanary.CodeProperty.Builder builder)
CfnCanary.ArtifactConfigProperty.Builder.public final String getHandler()
CfnCanary.CodeProperty
For canaries that use the syn-python-selenium-1.0 runtime or a syn-nodejs.puppeteer runtime earlier than syn-nodejs.puppeteer-3.4 , the handler must be specified as *fileName* .handler . For syn-python-selenium-1.1 , syn-nodejs.puppeteer-3.4 , and later runtimes, the handler can be specified as *fileName* . *functionName* , or you can specify a folder where canary scripts reside as *folder* / *fileName* . *functionName* .
getHandler in interface CfnCanary.CodePropertypublic final String getS3Bucket()
CfnCanary.CodePropertyThe bucket must already exist.
getS3Bucket in interface CfnCanary.CodePropertypublic final String getS3Key()
CfnCanary.CodePropertyFor more information, see Working with Amazon S3 Objects .
getS3Key in interface CfnCanary.CodePropertypublic final String getS3ObjectVersion()
CfnCanary.CodePropertygetS3ObjectVersion in interface CfnCanary.CodePropertypublic final String getScript()
CfnCanary.CodePropertyIt can be up to 5 MB.
getScript in interface CfnCanary.CodeProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.