interface CfnAlarmMuteRuleProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudWatch.CfnAlarmMuteRuleProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#CfnAlarmMuteRuleProps |
Java | software.amazon.awscdk.services.cloudwatch.CfnAlarmMuteRuleProps |
Python | aws_cdk.aws_cloudwatch.CfnAlarmMuteRuleProps |
TypeScript | aws-cdk-lib » aws_cloudwatch » CfnAlarmMuteRuleProps |
Properties for defining a CfnAlarmMuteRule.
Example
// 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 cfnAlarmMuteRuleProps: cloudwatch.CfnAlarmMuteRuleProps = {
rule: {
schedule: {
duration: 'duration',
expression: 'expression',
// the properties below are optional
timezone: 'timezone',
},
},
// the properties below are optional
description: 'description',
expireDate: 'expireDate',
muteTargets: {
alarmNames: ['alarmNames'],
},
name: 'name',
startDate: 'startDate',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| rule | IResolvable | Rule | The rule for the mute. |
| description? | string | The description of the AlarmMuteRule. |
| expire | string | The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired. |
| mute | IResolvable | Mute | Targets to be muted. |
| name? | string | The name of the AlarmMuteRule. |
| start | string | The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
rule
Type:
IResolvable | Rule
The rule for the mute.
description?
Type:
string
(optional)
The description of the AlarmMuteRule.
expireDate?
Type:
string
(optional)
The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
muteTargets?
Type:
IResolvable | Mute
(optional)
Targets to be muted.
name?
Type:
string
(optional)
The name of the AlarmMuteRule.
startDate?
Type:
string
(optional)
The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.

.NET
Go
Java
Python
TypeScript