Class CfnCanary.RunConfigProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnCanary.RunConfigProperty.Jsii$Proxy extends implements CfnCanary.RunConfigProperty
An implementation for CfnCanary.RunConfigProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

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

    • getActiveTracing

      public final Object getActiveTracing()
      Description copied from interface: CfnCanary.RunConfigProperty
      Specifies whether this canary is to use active AWS X-Ray tracing when it runs.

      Active tracing enables this canary run to be displayed in the ServiceLens and X-Ray service maps even if the canary does not hit an endpoint that has X-Ray tracing enabled. Using X-Ray tracing incurs charges. For more information, see Canaries and X-Ray tracing .

      You can enable active tracing only for canaries that use version syn-nodejs-2.0 or later for their canary runtime.

      Specified by:
      getActiveTracing in interface CfnCanary.RunConfigProperty
    • getEnvironmentVariables

      public final Object getEnvironmentVariables()
      Description copied from interface: CfnCanary.RunConfigProperty
      Specifies the keys and values to use for any environment variables used in the canary script.

      Use the following format:

      { "key1" : "value1", "key2" : "value2", ...}

      Keys must start with a letter and be at least two characters. The total size of your environment variables cannot exceed 4 KB. You can't specify any Lambda reserved environment variables as the keys for your environment variables. For more information about reserved keys, see Runtime environment variables .

      Specified by:
      getEnvironmentVariables in interface CfnCanary.RunConfigProperty
    • getMemoryInMb

      public final Number getMemoryInMb()
      Description copied from interface: CfnCanary.RunConfigProperty
      The maximum amount of memory that the canary can use while running.

      This value must be a multiple of 64. The range is 960 to 3008.

      Specified by:
      getMemoryInMb in interface CfnCanary.RunConfigProperty
    • getTimeoutInSeconds

      public final Number getTimeoutInSeconds()
      Description copied from interface: CfnCanary.RunConfigProperty
      How long the canary is allowed to run before it must stop.

      You can't set this time to be longer than the frequency of the runs of this canary.

      If you omit this field, the frequency of the canary is used as this value, up to a maximum of 900 seconds.

      Specified by:
      getTimeoutInSeconds in interface CfnCanary.RunConfigProperty
    • $jsii$toJson

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

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

      public final int hashCode()
      hashCode in class Object