Class CfnCanary.CodeProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCanary.CodeProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCanary.CodeProperty
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 booleanBlueprintTypesare a list of templates that enable simplified canary creation.final ObjectList of Lambda layers to attach to the canary.final 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 Amazon S3 key of your script.final StringThe Amazon 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
-
getBlueprintTypes
Description copied from interface:CfnCanary.CodePropertyBlueprintTypesare a list of templates that enable simplified canary creation.You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts.
multi-checksis the only supported value.When you specify
BlueprintTypes, theHandlerfield cannot be specified since the blueprint provides a pre-defined entry point.- Specified by:
getBlueprintTypesin interfaceCfnCanary.CodeProperty- See Also:
-
getDependencies
Description copied from interface:CfnCanary.CodePropertyList of Lambda layers to attach to the canary.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCanary.DependencyProperty>- Specified by:
getDependenciesin interfaceCfnCanary.CodeProperty- See Also:
-
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*.This field is required when you don't specify
BlueprintTypesand is not allowed when you specifyBlueprintTypes.- Specified by:
getHandlerin interfaceCfnCanary.CodeProperty- See Also:
-
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- See Also:
-
getS3Key
Description copied from interface:CfnCanary.CodePropertyThe Amazon S3 key of your script.For more information, see Working with Amazon S3 Objects .
- Specified by:
getS3Keyin interfaceCfnCanary.CodeProperty- See Also:
-
getS3ObjectVersion
Description copied from interface:CfnCanary.CodePropertyThe Amazon S3 version ID of your script.- Specified by:
getS3ObjectVersionin interfaceCfnCanary.CodeProperty- See Also:
-
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- See Also:
-
getSourceLocationArn
Description copied from interface:CfnCanary.CodePropertyThe ARN of the Lambda layer where Synthetics stores the canary script code.- Specified by:
getSourceLocationArnin interfaceCfnCanary.CodeProperty- See Also:
-
$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()
-