CfnAlarmMuteRuleMixinProps
- class aws_cdk.mixins_preview.aws_cloudwatch.mixins.CfnAlarmMuteRuleMixinProps(*, description=None, expire_date=None, mute_targets=None, name=None, rule=None, start_date=None, tags=None)
Bases:
objectProperties for CfnAlarmMuteRulePropsMixin.
- Parameters:
description (
Optional[str]) – The description of the AlarmMuteRule.expire_date (
Optional[str]) – The date, with the same timezone offset as “ScheduleTimezone” after which the alarm mute rule will be expired.mute_targets (
Union[IResolvable,MuteTargetsProperty,Dict[str,Any],None]) – Targets to be muted.name (
Optional[str]) – The name of the AlarmMuteRule.rule (
Union[IResolvable,RuleProperty,Dict[str,Any],None]) – The rule for the mute.start_date (
Optional[str]) – The date, with the same timezone offset as “ScheduleTimezone”, after which the alarm mute rule will become active.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cloudwatch import mixins as cloudwatch_mixins cfn_alarm_mute_rule_mixin_props = cloudwatch_mixins.CfnAlarmMuteRuleMixinProps( description="description", expire_date="expireDate", mute_targets=cloudwatch_mixins.CfnAlarmMuteRulePropsMixin.MuteTargetsProperty( alarm_names=["alarmNames"] ), name="name", rule=cloudwatch_mixins.CfnAlarmMuteRulePropsMixin.RuleProperty( schedule=cloudwatch_mixins.CfnAlarmMuteRulePropsMixin.ScheduleProperty( duration="duration", expression="expression", timezone="timezone" ) ), start_date="startDate", tags=[CfnTag( key="key", value="value" )] )
Attributes
- description
The description of the AlarmMuteRule.
- expire_date
The date, with the same timezone offset as “ScheduleTimezone” after which the alarm mute rule will be expired.
- mute_targets
Targets to be muted.
- name
The name of the AlarmMuteRule.
- rule
The rule for the mute.
- start_date
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.