Class CfnCanary.CodeProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.synthetics.CfnCanary.CodeProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCanary.CodeProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnCanary.CodeProperty
@Stability(Stable)
@Internal
public static final class CfnCanary.CodeProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnCanary.CodeProperty
An implementation for
CfnCanary.CodeProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.synthetics.CfnCanary.CodeProperty
CfnCanary.CodeProperty.Builder, CfnCanary.CodeProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnCanary.CodeProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnCanary.CodeProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe entry point to use for the source code when running the canary.final StringIf your canary script is located in S3, specify the bucket name here.final StringgetS3Key()The S3 key of your script.final StringThe S3 version ID of your script.final StringIf 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.final StringThe ARN of the Lambda layer where Synthetics stores the canary script code.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCanary.CodeProperty.Builder.
-
-
Method Details
-
getHandler
Description copied from interface:CfnCanary.CodePropertyThe entry point to use for the source code when running the canary.For canaries that use the
syn-python-selenium-1.0runtime or asyn-nodejs.puppeteerruntime earlier thansyn-nodejs.puppeteer-3.4, the handler must be specified as*fileName* .handler. Forsyn-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*.- Specified by:
getHandlerin interfaceCfnCanary.CodeProperty
-
getS3Bucket
Description copied from interface:CfnCanary.CodePropertyIf your canary script is located in S3, specify the bucket name here.The bucket must already exist.
- Specified by:
getS3Bucketin interfaceCfnCanary.CodeProperty
-
getS3Key
Description copied from interface:CfnCanary.CodePropertyThe S3 key of your script.For more information, see Working with Amazon S3 Objects .
- Specified by:
getS3Keyin interfaceCfnCanary.CodeProperty
-
getS3ObjectVersion
Description copied from interface:CfnCanary.CodePropertyThe S3 version ID of your script.- Specified by:
getS3ObjectVersionin interfaceCfnCanary.CodeProperty
-
getScript
Description copied from interface:CfnCanary.CodePropertyIf 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.It can be up to 5 MB.
- Specified by:
getScriptin interfaceCfnCanary.CodeProperty
-
getSourceLocationArn
Description copied from interface:CfnCanary.CodePropertyThe ARN of the Lambda layer where Synthetics stores the canary script code.- Specified by:
getSourceLocationArnin interfaceCfnCanary.CodeProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-