We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
Resource Type definition for AWS::CloudWatch::AlarmMuteRule that allows defining a rule and targeting alarms to mute their actions during the specified window.
Create AlarmMuteRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlarmMuteRule(name: string, args: AlarmMuteRuleArgs, opts?: CustomResourceOptions);@overload
def AlarmMuteRule(resource_name: str,
args: AlarmMuteRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlarmMuteRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
rule: Optional[RulePropertiesArgs] = None,
description: Optional[str] = None,
expire_date: Optional[str] = None,
mute_targets: Optional[MuteTargetsPropertiesArgs] = None,
name: Optional[str] = None,
start_date: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewAlarmMuteRule(ctx *Context, name string, args AlarmMuteRuleArgs, opts ...ResourceOption) (*AlarmMuteRule, error)public AlarmMuteRule(string name, AlarmMuteRuleArgs args, CustomResourceOptions? opts = null)
public AlarmMuteRule(String name, AlarmMuteRuleArgs args)
public AlarmMuteRule(String name, AlarmMuteRuleArgs args, CustomResourceOptions options)
type: aws-native:cloudwatch:AlarmMuteRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AlarmMuteRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AlarmMuteRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AlarmMuteRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlarmMuteRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlarmMuteRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AlarmMuteRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AlarmMuteRule resource accepts the following input properties:
- Rule
Pulumi.
Aws Native. Cloud Watch. Inputs. Rule Properties - The rule for the mute
- Description string
- The description of the AlarmMuteRule
- Expire
Date string - The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
- Mute
Targets Pulumi.Aws Native. Cloud Watch. Inputs. Mute Targets Properties - Targets to be muted
- Name string
- The name of the AlarmMuteRule
- Start
Date string - The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Rule
Rule
Properties Args - The rule for the mute
- Description string
- The description of the AlarmMuteRule
- Expire
Date string - The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
- Mute
Targets MuteTargets Properties Args - Targets to be muted
- Name string
- The name of the AlarmMuteRule
- Start
Date string - The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
-
Tag
Args - An array of key-value pairs to apply to this resource.
- rule
Rule
Properties - The rule for the mute
- description String
- The description of the AlarmMuteRule
- expire
Date String - The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
- mute
Targets MuteTargets Properties - Targets to be muted
- name String
- The name of the AlarmMuteRule
- start
Date String - The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- rule
Rule
Properties - The rule for the mute
- description string
- The description of the AlarmMuteRule
- expire
Date string - The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
- mute
Targets MuteTargets Properties - Targets to be muted
- name string
- The name of the AlarmMuteRule
- start
Date string - The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
- Tag[]
- An array of key-value pairs to apply to this resource.
- rule
Rule
Properties Args - The rule for the mute
- description str
- The description of the AlarmMuteRule
- expire_
date str - The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
- mute_
targets MuteTargets Properties Args - Targets to be muted
- name str
- The name of the AlarmMuteRule
- start_
date str - The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
-
Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- rule Property Map
- The rule for the mute
- description String
- The description of the AlarmMuteRule
- expire
Date String - The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
- mute
Targets Property Map - Targets to be muted
- name String
- The name of the AlarmMuteRule
- start
Date String - The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AlarmMuteRule resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the AlarmMuteRule
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTimestamp - The last update timestamp of the alarm mute schedule
- Mute
Type string - The mute type of the alarm mute
- Status
Pulumi.
Aws Native. Cloud Watch. Alarm Mute Rule Status - The current status of the AlarmMuteRule
- Arn string
- Amazon Resource Name (ARN) of the AlarmMuteRule
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTimestamp - The last update timestamp of the alarm mute schedule
- Mute
Type string - The mute type of the alarm mute
- Status
Alarm
Mute Rule Status - The current status of the AlarmMuteRule
- arn String
- Amazon Resource Name (ARN) of the AlarmMuteRule
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTimestamp - The last update timestamp of the alarm mute schedule
- mute
Type String - The mute type of the alarm mute
- status
Alarm
Mute Rule Status - The current status of the AlarmMuteRule
- arn string
- Amazon Resource Name (ARN) of the AlarmMuteRule
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringTimestamp - The last update timestamp of the alarm mute schedule
- mute
Type string - The mute type of the alarm mute
- status
Alarm
Mute Rule Status - The current status of the AlarmMuteRule
- arn str
- Amazon Resource Name (ARN) of the AlarmMuteRule
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strtimestamp - The last update timestamp of the alarm mute schedule
- mute_
type str - The mute type of the alarm mute
- status
Alarm
Mute Rule Status - The current status of the AlarmMuteRule
- arn String
- Amazon Resource Name (ARN) of the AlarmMuteRule
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTimestamp - The last update timestamp of the alarm mute schedule
- mute
Type String - The mute type of the alarm mute
- status "SCHEDULED" | "ACTIVE" | "EXPIRED"
- The current status of the AlarmMuteRule
Supporting Types
AlarmMuteRuleStatus, AlarmMuteRuleStatusArgs
- Scheduled
SCHEDULED- Active
ACTIVE- Expired
EXPIRED
- Alarm
Mute Rule Status Scheduled SCHEDULED- Alarm
Mute Rule Status Active ACTIVE- Alarm
Mute Rule Status Expired EXPIRED
- Scheduled
SCHEDULED- Active
ACTIVE- Expired
EXPIRED
- Scheduled
SCHEDULED- Active
ACTIVE- Expired
EXPIRED
- SCHEDULED
SCHEDULED- ACTIVE
ACTIVE- EXPIRED
EXPIRED
- "SCHEDULED"
SCHEDULED- "ACTIVE"
ACTIVE- "EXPIRED"
EXPIRED
MuteTargetsProperties, MuteTargetsPropertiesArgs
Targets to be muted- Alarm
Names List<string> - The alarm names to be mute by the AlarmMuteRule
- Alarm
Names []string - The alarm names to be mute by the AlarmMuteRule
- alarm
Names List<String> - The alarm names to be mute by the AlarmMuteRule
- alarm
Names string[] - The alarm names to be mute by the AlarmMuteRule
- alarm_
names Sequence[str] - The alarm names to be mute by the AlarmMuteRule
- alarm
Names List<String> - The alarm names to be mute by the AlarmMuteRule
RuleProperties, RulePropertiesArgs
The rule for the mute- Schedule
Pulumi.
Aws Native. Cloud Watch. Inputs. Rule Properties Schedule Properties - Schedule for the mute to be active
- Schedule
Rule
Properties Schedule Properties - Schedule for the mute to be active
- schedule
Rule
Properties Schedule Properties - Schedule for the mute to be active
- schedule
Rule
Properties Schedule Properties - Schedule for the mute to be active
- schedule
Rule
Properties Schedule Properties - Schedule for the mute to be active
- schedule Property Map
- Schedule for the mute to be active
RulePropertiesScheduleProperties, RulePropertiesSchedulePropertiesArgs
Schedule for the mute to be active- Duration string
- The duration of the schedule when it triggers
- Expression string
- The expression of the schedule
- Timezone string
- The timezone of the schedule
- Duration string
- The duration of the schedule when it triggers
- Expression string
- The expression of the schedule
- Timezone string
- The timezone of the schedule
- duration String
- The duration of the schedule when it triggers
- expression String
- The expression of the schedule
- timezone String
- The timezone of the schedule
- duration string
- The duration of the schedule when it triggers
- expression string
- The expression of the schedule
- timezone string
- The timezone of the schedule
- duration str
- The duration of the schedule when it triggers
- expression str
- The expression of the schedule
- timezone str
- The timezone of the schedule
- duration String
- The duration of the schedule when it triggers
- expression String
- The expression of the schedule
- timezone String
- The timezone of the schedule
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
