LocalHealthEventsConfigProperty Struct
Configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance or availability issue, when scores cross a threshold for one or more city-networks.
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 .
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_internetmonitor as internetmonitor } from 'aws-cdk-lib';
const localHealthEventsConfigProperty: internetmonitor.CfnMonitor.LocalHealthEventsConfigProperty = {
healthScoreThreshold: 123,
minTrafficImpact: 123,
status: 'status',
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_internetmonitor as internetmonitor
local_health_events_config_property = internetmonitor.CfnMonitor.LocalHealthEventsConfigProperty(
health_score_threshold=123,
min_traffic_impact=123,
status="status"
)
// 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();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.InternetMonitor;
var localHealthEventsConfigProperty = new LocalHealthEventsConfigProperty {
HealthScoreThreshold = 123,
MinTrafficImpact = 123,
Status = "status"
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
localHealthEventsConfigProperty := &LocalHealthEventsConfigProperty{
HealthScoreThreshold: jsii.Number(123),
MinTrafficImpact: jsii.Number(123),
Status: jsii.String("status"),
}
Properties
healthScoreThresholdoptionalnumberhealth_score_thresholdoptionalint | floathealthScoreThresholdoptionalNumberHealthScoreThresholdoptionaldoubleHealthScoreThresholdoptional*float64 #minTrafficImpactoptionalnumbermin_traffic_impactoptionalint | floatminTrafficImpactoptionalNumberMinTrafficImpactoptionaldoubleMinTrafficImpactoptional*float64 #If you don't set a minimum traffic impact threshold, the default value is 0.01%.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #The status can be ENABLED or DISABLED .