enum OpsItemCategory
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudWatch.Actions.OpsItemCategory |
Java | software.amazon.awscdk.services.cloudwatch.actions.OpsItemCategory |
Python | aws_cdk.aws_cloudwatch_actions.OpsItemCategory |
TypeScript (source) | @aws-cdk/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.

.NET
Java
Python
TypeScript (