Interface CfnMonitor.LocalHealthEventsConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMonitor.LocalHealthEventsConfigProperty.Jsii$Proxy
- Enclosing class:
CfnMonitor
Defines the percentages, for performance scores or availability scores, that are the local thresholds for when Amazon CloudWatch Internet Monitor creates a health event. Also defines whether a local threshold is enabled or disabled, and the minimum percentage of overall traffic that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a local health event threshold, the default value is 60%.
For more information, see Change health event thresholds in the Internet Monitor section of the Amazon CloudWatch User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.internetmonitor.*;
LocalHealthEventsConfigProperty localHealthEventsConfigProperty = LocalHealthEventsConfigProperty.builder()
.healthScoreThreshold(123)
.minTrafficImpact(123)
.status("status")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMonitor.LocalHealthEventsConfigPropertystatic final classAn implementation forCfnMonitor.LocalHealthEventsConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe health event threshold percentage set for a local health score.default NumberThe minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.default StringThe status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHealthScoreThreshold
The health event threshold percentage set for a local health score.- See Also:
-
getMinTrafficImpact
The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.If you don't set a minimum traffic impact threshold, the default value is 0.01%.
- See Also:
-
getStatus
The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score.The status can be
ENABLEDorDISABLED.- See Also:
-
builder
-