# TriggerProperty

The alert states that trigger the notification rule.

- Source: Generated code
- Type last changed: v2.277.0 · 13 Nov 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const triggerProperty: cloudwatch.CfnAlert.TriggerProperty = {
  stateValues: ['stateValues'],
};
```

## Properties

- `stateValues`: string[] — The alert states that trigger this rule.

  A notification is sent when the alert enters any listed state. If omitted or empty, every state triggers the rule.
