Skip to contents

Creates or updates an alarm mute rule.

See https://www.paws-r-sdk.com/docs/cloudwatch_put_alarm_mute_rule/ for full documentation.

Usage

cloudwatch_put_alarm_mute_rule(
  Name,
  Description = NULL,
  Rule,
  MuteTargets = NULL,
  Tags = NULL,
  StartDate = NULL,
  ExpireDate = NULL
)

Arguments

Name

[required] The name of the alarm mute rule. This name must be unique within your Amazon Web Services account and region.

Description

A description of the alarm mute rule that helps you identify its purpose.

Rule

[required] The configuration that defines when and how long alarms should be muted.

MuteTargets

Specifies which alarms this rule applies to.

Tags

A list of key-value pairs to associate with the alarm mute rule. You can use tags to categorize and manage your mute rules.

StartDate

The date and time after which the mute rule takes effect, specified as a timestamp in ISO 8601 format (for example, 2026-04-15T08:00:00Z). If not specified, the mute rule takes effect immediately upon creation and the mutes are applied as per the schedule expression.

ExpireDate

The date and time when the mute rule expires and is no longer evaluated, specified as a timestamp in ISO 8601 format (for example, 2026-12-31T23:59:59Z). After this time, the rule status becomes EXPIRED and will no longer mute the targeted alarms.