Interface ICfnAlarmMuteRuleProps
Properties for defining a CfnAlarmMuteRule.
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnAlarmMuteRuleProps
Syntax (vb)
Public Interface ICfnAlarmMuteRuleProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudWatch;
var cfnAlarmMuteRuleProps = new CfnAlarmMuteRuleProps {
Rule = new RuleProperty {
Schedule = new ScheduleProperty {
Duration = "duration",
Expression = "expression",
// the properties below are optional
Timezone = "timezone"
}
},
// the properties below are optional
Description = "description",
ExpireDate = "expireDate",
MuteTargets = new MuteTargetsProperty {
AlarmNames = new [] { "alarmNames" }
},
Name = "name",
StartDate = "startDate",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
| Description | The description of the AlarmMuteRule. |
| ExpireDate | The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired. |
| MuteTargets | Targets to be muted. |
| Name | The name of the AlarmMuteRule. |
| Rule | The rule for the mute. |
| StartDate | The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active. |
| Tags | An array of key-value pairs to apply to this resource. |
Properties
Description
The description of the AlarmMuteRule.
string? Description { get; }
Property Value
Remarks
ExpireDate
The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
string? ExpireDate { get; }
Property Value
Remarks
MuteTargets
Targets to be muted.
object? MuteTargets { get; }
Property Value
Remarks
Name
The name of the AlarmMuteRule.
string? Name { get; }
Property Value
Remarks
Rule
The rule for the mute.
object Rule { get; }
Property Value
Remarks
StartDate
The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
string? StartDate { get; }
Property Value
Remarks
Tags
An array of key-value pairs to apply to this resource.
ICfnTag[]? Tags { get; }
Property Value
ICfnTag[]