enum OpsItemCategory
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudWatch.Actions.OpsItemCategory |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatchactions#OpsItemCategory |
Java | software.amazon.awscdk.services.cloudwatch.actions.OpsItemCategory |
Python | aws_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
Name | Description |
---|---|
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. |
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.