Interface CfnAlarmMuteRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlarmMuteRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-02T12:05:05.132Z")
@Stability(Stable)
public interface CfnAlarmMuteRuleProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cloudwatch.*;
CfnAlarmMuteRuleProps cfnAlarmMuteRuleProps = CfnAlarmMuteRuleProps.builder()
.rule(RuleProperty.builder()
.schedule(ScheduleProperty.builder()
.duration("duration")
.expression("expression")
// the properties below are optional
.timezone("timezone")
.build())
.build())
// the properties below are optional
.description("description")
.expireDate("expireDate")
.muteTargets(MuteTargetsProperty.builder()
.alarmNames(List.of("alarmNames"))
.build())
.name("name")
.startDate("startDate")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlarmMuteRulePropsstatic final classAn implementation forCfnAlarmMuteRuleProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe description of the AlarmMuteRule.default StringThe date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.default ObjectTargets to be muted.default StringgetName()The name of the AlarmMuteRule.getRule()The rule for the mute.default StringThe date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRule
The rule for the mute.Returns union: either
IResolvableorCfnAlarmMuteRule.RuleProperty- See Also:
-
getDescription
The description of the AlarmMuteRule.- See Also:
-
getExpireDate
The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.- See Also:
-
getMuteTargets
Targets to be muted.Returns union: either
IResolvableorCfnAlarmMuteRule.MuteTargetsProperty- See Also:
-
getName
The name of the AlarmMuteRule.- See Also:
-
getStartDate
The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnAlarmMuteRuleProps.BuilderofCfnAlarmMuteRuleProps
-