# RuleProperty

The rule for the mute.

- Source: Generated code
- Type last changed: v2.241.0 · 2 Mar 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 ruleProperty: cloudwatch.CfnAlarmMuteRule.RuleProperty = {
  schedule: {
    duration: 'duration',
    expression: 'expression',

    // the properties below are optional
    timezone: 'timezone',
  },
};
```

## Properties

- `schedule`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAlarmMuteRule.ScheduleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudwatch.CfnAlarmMuteRule.ScheduleProperty.html) (required) — Schedule for the mute to be active.
