Class CfnCanaryPropsMixin.CodeProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCanaryPropsMixin.CodeProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCanaryPropsMixin.CodeProperty
CfnCanaryPropsMixin.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.cfnpropertymixins.services.synthetics.CfnCanaryPropsMixin.CodeProperty
CfnCanaryPropsMixin.CodeProperty.Builder, CfnCanaryPropsMixin.CodeProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCanaryPropsMixin.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 ObjectIf 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 theCfnCanaryPropsMixin.CodeProperty.Builder.
-
-
Method Details
-
getBlueprintTypes
Description copied from interface:CfnCanaryPropsMixin.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 interfaceCfnCanaryPropsMixin.CodeProperty- See Also:
-
getDependencies
Description copied from interface:CfnCanaryPropsMixin.CodePropertyList of Lambda layers to attach to the canary.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCanaryPropsMixin.DependencyProperty>- Specified by:
getDependenciesin interfaceCfnCanaryPropsMixin.CodeProperty- See Also:
-
getHandler
Description copied from interface:CfnCanaryPropsMixin.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 interfaceCfnCanaryPropsMixin.CodeProperty- See Also:
-
getS3Bucket
Description copied from interface:CfnCanaryPropsMixin.CodePropertyIf your canary script is located in S3, specify the bucket name here.The bucket must already exist.
Returns union: either
StringorIBucketRef- Specified by:
getS3Bucketin interfaceCfnCanaryPropsMixin.CodeProperty- See Also:
-
getS3Key
Description copied from interface:CfnCanaryPropsMixin.CodePropertyThe Amazon S3 key of your script.For more information, see Working with Amazon S3 Objects .
- Specified by:
getS3Keyin interfaceCfnCanaryPropsMixin.CodeProperty- See Also:
-
getS3ObjectVersion
Description copied from interface:CfnCanaryPropsMixin.CodePropertyThe Amazon S3 version ID of your script.- Specified by:
getS3ObjectVersionin interfaceCfnCanaryPropsMixin.CodeProperty- See Also:
-
getScript
Description copied from interface:CfnCanaryPropsMixin.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 interfaceCfnCanaryPropsMixin.CodeProperty- See Also:
-
getSourceLocationArn
Description copied from interface:CfnCanaryPropsMixin.CodePropertyThe ARN of the Lambda layer where Synthetics stores the canary script code.- Specified by:
getSourceLocationArnin interfaceCfnCanaryPropsMixin.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()
-