interface HealthEventsConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.InternetMonitor.CfnMonitor.HealthEventsConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsinternetmonitor#CfnMonitor_HealthEventsConfigProperty |
Java | software.amazon.awscdk.services.internetmonitor.CfnMonitor.HealthEventsConfigProperty |
Python | aws_cdk.aws_internetmonitor.CfnMonitor.HealthEventsConfigProperty |
TypeScript | aws-cdk-lib » aws_internetmonitor » CfnMonitor » HealthEventsConfigProperty |
Define the health event threshold percentages for the performance score and availability score for your application's monitor.
Amazon CloudWatch Internet Monitor creates a health event when there's an internet issue that affects your application end users where a health score percentage is at or below a set threshold.
If you don't set a health event threshold, the default value is 95%.
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 healthEventsConfigProperty: internetmonitor.CfnMonitor.HealthEventsConfigProperty = {
availabilityLocalHealthEventsConfig: {
healthScoreThreshold: 123,
minTrafficImpact: 123,
status: 'status',
},
availabilityScoreThreshold: 123,
performanceLocalHealthEventsConfig: {
healthScoreThreshold: 123,
minTrafficImpact: 123,
status: 'status',
},
performanceScoreThreshold: 123,
};
Properties
Name | Type | Description |
---|---|---|
availability | IResolvable | Local | The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue. |
availability | number | The health event threshold percentage set for availability scores. |
performance | IResolvable | Local | The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue. |
performance | number | The health event threshold percentage set for performance scores. |
availabilityLocalHealthEventsConfig?
Type:
IResolvable
|
Local
(optional)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
availabilityScoreThreshold?
Type:
number
(optional)
The health event threshold percentage set for availability scores.
When the overall availability score is at or below this percentage, Internet Monitor creates a health event.
performanceLocalHealthEventsConfig?
Type:
IResolvable
|
Local
(optional)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
performanceScoreThreshold?
Type:
number
(optional)
The health event threshold percentage set for performance scores.
When the overall performance score is at or below this percentage, Internet Monitor creates a health event.