enum OpsItemSeverity
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudWatch.Actions.OpsItemSeverity |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatchactions#OpsItemSeverity |
![]() | software.amazon.awscdk.services.cloudwatch.actions.OpsItemSeverity |
![]() | aws_cdk.aws_cloudwatch_actions.OpsItemSeverity |
![]() | aws-cdk-lib » aws_cloudwatch_actions » OpsItemSeverity |
Types of OpsItem severity available.
Example
declare const alarm: cloudwatch.Alarm;
// Create an OpsItem with specific severity and category when alarm triggers
alarm.addAlarmAction(
new actions.SsmAction(
actions.OpsItemSeverity.CRITICAL,
actions.OpsItemCategory.PERFORMANCE // category is optional
)
);
Members
Name | Description |
---|---|
CRITICAL | Set the severity to critical. |
HIGH | Set the severity to high. |
MEDIUM | Set the severity to medium. |
LOW | Set the severity to low. |
CRITICAL
Set the severity to critical.
HIGH
Set the severity to high.
MEDIUM
Set the severity to medium.
LOW
Set the severity to low.