Class CfnCanary.RunConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCanary.RunConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCanary.RunConfigProperty
CfnCanary.RunConfigProperty-
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.RunConfigProperty
CfnCanary.RunConfigProperty.Builder, CfnCanary.RunConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCanary.RunConfigProperty.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 booleanfinal ObjectSpecifies whether this canary is to use active AWS X-Ray tracing when it runs.final ObjectSpecifies the keys and values to use for any environment variables used in the canary script.final NumberSpecifies the amount of ephemeral storage (in MB) to allocate for the canary run during execution.final NumberThe maximum amount of memory that the canary can use while running.final NumberHow long the canary is allowed to run before it must stop.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.RunConfigProperty.Builder.
-
-
Method Details
-
getActiveTracing
Description copied from interface:CfnCanary.RunConfigPropertySpecifies 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.0or later for their canary runtime.Returns union: either
BooleanorIResolvable- Specified by:
getActiveTracingin interfaceCfnCanary.RunConfigProperty- See Also:
-
getEnvironmentVariables
Description copied from interface:CfnCanary.RunConfigPropertySpecifies 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 .
Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- Specified by:
getEnvironmentVariablesin interfaceCfnCanary.RunConfigProperty- See Also:
-
getEphemeralStorage
Description copied from interface:CfnCanary.RunConfigPropertySpecifies the amount of ephemeral storage (in MB) to allocate for the canary run during execution.This temporary storage is used for storing canary run artifacts (which are uploaded to an Amazon S3 bucket at the end of the run), and any canary browser operations. This temporary storage is cleared after the run is completed. Default storage value is 1024 MB.
- Specified by:
getEphemeralStoragein interfaceCfnCanary.RunConfigProperty- See Also:
-
getMemoryInMb
Description copied from interface:CfnCanary.RunConfigPropertyThe 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:
getMemoryInMbin interfaceCfnCanary.RunConfigProperty- See Also:
-
getTimeoutInSeconds
Description copied from interface:CfnCanary.RunConfigPropertyHow 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:
getTimeoutInSecondsin interfaceCfnCanary.RunConfigProperty- 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()
-