@Stability(value=Stable) @Internal public static final class CfnCanary.RunConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCanary.RunConfigProperty
CfnCanary.RunConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnCanary.RunConfigProperty.Builder, CfnCanary.RunConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnCanary.RunConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnCanary.ArtifactConfigProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getActiveTracing()
Specifies whether this canary is to use active AWS X-Ray tracing when it runs.
|
Object |
getEnvironmentVariables()
Specifies the keys and values to use for any environment variables used in the canary script.
|
Number |
getMemoryInMb()
The maximum amount of memory that the canary can use while running.
|
Number |
getTimeoutInSeconds()
How long the canary is allowed to run before it must stop.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnCanary.RunConfigProperty.Builder builder)
CfnCanary.ArtifactConfigProperty.Builder.public final Object getActiveTracing()
CfnCanary.RunConfigPropertyActive 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.
getActiveTracing in interface CfnCanary.RunConfigPropertypublic final Object getEnvironmentVariables()
CfnCanary.RunConfigPropertyUse 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 .
getEnvironmentVariables in interface CfnCanary.RunConfigPropertypublic final Number getMemoryInMb()
CfnCanary.RunConfigPropertyThis value must be a multiple of 64. The range is 960 to 3008.
getMemoryInMb in interface CfnCanary.RunConfigPropertypublic final Number getTimeoutInSeconds()
CfnCanary.RunConfigPropertyYou 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.
getTimeoutInSeconds in interface CfnCanary.RunConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.