aws-cdk-lib.aws_cloudwatch_actions.OpsItemCategory

enum OpsItemCategory

LanguageType name
.NETAmazon.CDK.AWS.CloudWatch.Actions.OpsItemCategory
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudwatchactions#OpsItemCategory
Javasoftware.amazon.awscdk.services.cloudwatch.actions.OpsItemCategory
Pythonaws_cdk.aws_cloudwatch_actions.OpsItemCategory
TypeScript (source)aws-cdk-lib » aws_cloudwatch_actions » OpsItemCategory

Types of OpsItem category 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
AVAILABILITYSet the category to availability.
COSTSet the category to cost.
PERFORMANCESet the category to performance.
RECOVERYSet the category to recovery.
SECURITYSet the category to security.

AVAILABILITY

Set the category to availability.


COST

Set the category to cost.


PERFORMANCE

Set the category to performance.


RECOVERY

Set the category to recovery.


SECURITY

Set the category to security.