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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnCanary.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 Type
    Method
    Description
    com.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
    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
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(CfnCanary.CodeProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnCanary.CodeProperty.Builder.
  • Method Details

    • getHandler

      public final String 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 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* .

      Specified by:
      getHandler in interface CfnCanary.CodeProperty
    • getS3Bucket

      public final String 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 interface CfnCanary.CodeProperty
    • getS3Key

      public final String 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 interface CfnCanary.CodeProperty
    • getS3ObjectVersion

      public final String getS3ObjectVersion()
      Description copied from interface: CfnCanary.CodeProperty
      The S3 version ID of your script.
      Specified by:
      getS3ObjectVersion in interface CfnCanary.CodeProperty
    • getScript

      public final String 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 interface CfnCanary.CodeProperty
    • getSourceLocationArn

      public final String getSourceLocationArn()
      Description copied from interface: CfnCanary.CodeProperty
      The ARN of the Lambda layer where Synthetics stores the canary script code.
      Specified by:
      getSourceLocationArn in interface CfnCanary.CodeProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object