public static final class CfnCanary.CodeProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCanary.CodeProperty
CfnCanary.CodeProperty
CfnCanary.CodeProperty.Builder, CfnCanary.CodeProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.String |
getHandler()
The entry point to use for the source code when running the canary.
|
java.lang.String |
getS3Bucket()
If your canary script is located in S3, specify the bucket name here.
|
java.lang.String |
getS3Key()
The S3 key of your script.
|
java.lang.String |
getS3ObjectVersion()
The S3 version ID of your script.
|
java.lang.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() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.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.CodeProperty
public final java.lang.String getS3Bucket()
CfnCanary.CodeProperty
The bucket must already exist.
getS3Bucket
in interface CfnCanary.CodeProperty
public final java.lang.String getS3Key()
CfnCanary.CodeProperty
For more information, see Working with Amazon S3 Objects .
getS3Key
in interface CfnCanary.CodeProperty
public final java.lang.String getS3ObjectVersion()
CfnCanary.CodeProperty
getS3ObjectVersion
in interface CfnCanary.CodeProperty
public final java.lang.String getScript()
CfnCanary.CodeProperty
It can be up to 5 MB.
getScript
in interface CfnCanary.CodeProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()