AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CloudWatch::AlarmMuteRule

CfnAlarmMuteRule

Resource Type definition for AWS::CloudWatch::AlarmMuteRule that allows defining a rule and targeting alarms to mute their actions during the specified window.

Import

import { CfnAlarmMuteRule } from 'aws-cdk-lib/aws-cloudwatch';

Or use the module namespace:

import * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';
// cloudwatch.CfnAlarmMuteRule

Properties

Configuration passed to the constructor as CfnAlarmMuteRuleProps.

ruleRequired
IResolvable | RuleProperty

The rule for the mute.

descriptionOptional
string

The description of the AlarmMuteRule.

expireDateOptional
string

The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.

muteTargetsOptional
IResolvable | MuteTargetsProperty

Targets to be muted.

nameOptional
string

The name of the AlarmMuteRule.

startDateOptional
string

The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon CloudWatch Cheat Sheet

Everything you need to know about Amazon CloudWatch on one page. HD quality, print-friendly.

Download Free Infographic