aws-cdk-lib.aws_cloudwatch_actions.OpsItemSeverity

enum OpsItemSeverity

LanguageType name
.NETAmazon.CDK.AWS.CloudWatch.Actions.OpsItemSeverity
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudwatchactions#OpsItemSeverity
Javasoftware.amazon.awscdk.services.cloudwatch.actions.OpsItemSeverity
Pythonaws_cdk.aws_cloudwatch_actions.OpsItemSeverity
TypeScript (source)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

NameDescription
CRITICALSet the severity to critical.
HIGHSet the severity to high.
MEDIUMSet the severity to medium.
LOWSet 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.