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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.synthetics.CfnCanary.CodeProperty
CfnCanary.CodeProperty.Builder, CfnCanary.CodeProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnCanary.CodeProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnCanary.CodeProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
The entry point to use for the source code when running the canary.final String
If your canary script is located in S3, specify the bucket name here.final String
getS3Key()
The S3 key of your script.final String
The S3 version ID of your script.final String
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.final String
The ARN of the Lambda layer where Synthetics stores the canary script code.final int
hashCode()
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.CodeProperty
The entry point to use for the source code when running the canary.For canaries that use the
syn-python-selenium-1.0
runtime or asyn-nodejs.puppeteer
runtime 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:
getHandler
in interfaceCfnCanary.CodeProperty
-
getS3Bucket
Description copied from interface:CfnCanary.CodeProperty
If your canary script is located in S3, specify the bucket name here.The bucket must already exist.
- Specified by:
getS3Bucket
in interfaceCfnCanary.CodeProperty
-
getS3Key
Description copied from interface:CfnCanary.CodeProperty
The S3 key of your script.For more information, see Working with Amazon S3 Objects .
- Specified by:
getS3Key
in interfaceCfnCanary.CodeProperty
-
getS3ObjectVersion
Description copied from interface:CfnCanary.CodeProperty
The S3 version ID of your script.- Specified by:
getS3ObjectVersion
in interfaceCfnCanary.CodeProperty
-
getScript
Description copied from interface:CfnCanary.CodeProperty
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.It can be up to 5 MB.
- Specified by:
getScript
in interfaceCfnCanary.CodeProperty
-
getSourceLocationArn
Description copied from interface:CfnCanary.CodeProperty
The ARN of the Lambda layer where Synthetics stores the canary script code.- Specified by:
getSourceLocationArn
in interfaceCfnCanary.CodeProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-