1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. cloudwatch
  5. AlarmMuteRule

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.57.0
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.AwsNative.CloudWatch.Inputs.RuleProperties
    The rule for the mute
    Description string
    The description of the AlarmMuteRule
    ExpireDate string
    The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
    MuteTargets Pulumi.AwsNative.CloudWatch.Inputs.MuteTargetsProperties
    Targets to be muted
    Name string
    The name of the AlarmMuteRule
    StartDate string
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    Rule RulePropertiesArgs
    The rule for the mute
    Description string
    The description of the AlarmMuteRule
    ExpireDate string
    The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
    MuteTargets MuteTargetsPropertiesArgs
    Targets to be muted
    Name string
    The name of the AlarmMuteRule
    StartDate string
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    rule RuleProperties
    The rule for the mute
    description String
    The description of the AlarmMuteRule
    expireDate String
    The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
    muteTargets MuteTargetsProperties
    Targets to be muted
    name String
    The name of the AlarmMuteRule
    startDate String
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    rule RuleProperties
    The rule for the mute
    description string
    The description of the AlarmMuteRule
    expireDate string
    The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
    muteTargets MuteTargetsProperties
    Targets to be muted
    name string
    The name of the AlarmMuteRule
    startDate string
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    rule RulePropertiesArgs
    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 MuteTargetsPropertiesArgs
    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.
    tags Sequence[TagArgs]
    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
    expireDate String
    The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
    muteTargets Property Map
    Targets to be muted
    name String
    The name of the AlarmMuteRule
    startDate String
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    tags 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.
    LastUpdatedTimestamp string
    The last update timestamp of the alarm mute schedule
    MuteType string
    The mute type of the alarm mute
    Status Pulumi.AwsNative.CloudWatch.AlarmMuteRuleStatus
    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.
    LastUpdatedTimestamp string
    The last update timestamp of the alarm mute schedule
    MuteType string
    The mute type of the alarm mute
    Status AlarmMuteRuleStatus
    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.
    lastUpdatedTimestamp String
    The last update timestamp of the alarm mute schedule
    muteType String
    The mute type of the alarm mute
    status AlarmMuteRuleStatus
    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.
    lastUpdatedTimestamp string
    The last update timestamp of the alarm mute schedule
    muteType string
    The mute type of the alarm mute
    status AlarmMuteRuleStatus
    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_timestamp str
    The last update timestamp of the alarm mute schedule
    mute_type str
    The mute type of the alarm mute
    status AlarmMuteRuleStatus
    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.
    lastUpdatedTimestamp String
    The last update timestamp of the alarm mute schedule
    muteType 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
    AlarmMuteRuleStatusScheduled
    SCHEDULED
    AlarmMuteRuleStatusActive
    ACTIVE
    AlarmMuteRuleStatusExpired
    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
    AlarmNames List<string>
    The alarm names to be mute by the AlarmMuteRule
    AlarmNames []string
    The alarm names to be mute by the AlarmMuteRule
    alarmNames List<String>
    The alarm names to be mute by the AlarmMuteRule
    alarmNames string[]
    The alarm names to be mute by the AlarmMuteRule
    alarm_names Sequence[str]
    The alarm names to be mute by the AlarmMuteRule
    alarmNames List<String>
    The alarm names to be mute by the AlarmMuteRule

    RuleProperties, RulePropertiesArgs

    The rule for the mute
    Schedule RulePropertiesScheduleProperties
    Schedule for the mute to be active
    schedule RulePropertiesScheduleProperties
    Schedule for the mute to be active
    schedule RulePropertiesScheduleProperties
    Schedule for the mute to be active
    schedule RulePropertiesScheduleProperties
    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.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.57.0
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.