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

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.

    Using getAlarmMuteRule

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAlarmMuteRule(args: GetAlarmMuteRuleArgs, opts?: InvokeOptions): Promise<GetAlarmMuteRuleResult>
    function getAlarmMuteRuleOutput(args: GetAlarmMuteRuleOutputArgs, opts?: InvokeOptions): Output<GetAlarmMuteRuleResult>
    def get_alarm_mute_rule(arn: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAlarmMuteRuleResult
    def get_alarm_mute_rule_output(arn: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAlarmMuteRuleResult]
    func LookupAlarmMuteRule(ctx *Context, args *LookupAlarmMuteRuleArgs, opts ...InvokeOption) (*LookupAlarmMuteRuleResult, error)
    func LookupAlarmMuteRuleOutput(ctx *Context, args *LookupAlarmMuteRuleOutputArgs, opts ...InvokeOption) LookupAlarmMuteRuleResultOutput

    > Note: This function is named LookupAlarmMuteRule in the Go SDK.

    public static class GetAlarmMuteRule 
    {
        public static Task<GetAlarmMuteRuleResult> InvokeAsync(GetAlarmMuteRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetAlarmMuteRuleResult> Invoke(GetAlarmMuteRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAlarmMuteRuleResult> getAlarmMuteRule(GetAlarmMuteRuleArgs args, InvokeOptions options)
    public static Output<GetAlarmMuteRuleResult> getAlarmMuteRule(GetAlarmMuteRuleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:cloudwatch:getAlarmMuteRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    Amazon Resource Name (ARN) of the AlarmMuteRule
    Arn string
    Amazon Resource Name (ARN) of the AlarmMuteRule
    arn String
    Amazon Resource Name (ARN) of the AlarmMuteRule
    arn string
    Amazon Resource Name (ARN) of the AlarmMuteRule
    arn str
    Amazon Resource Name (ARN) of the AlarmMuteRule
    arn String
    Amazon Resource Name (ARN) of the AlarmMuteRule

    getAlarmMuteRule Result

    The following output properties are available:

    Arn string
    Amazon Resource Name (ARN) of the AlarmMuteRule
    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.
    LastUpdatedTimestamp string
    The last update timestamp of the alarm mute schedule
    MuteTargets Pulumi.AwsNative.CloudWatch.Outputs.MuteTargetsProperties
    Targets to be muted
    MuteType string
    The mute type of the alarm mute
    Rule Pulumi.AwsNative.CloudWatch.Outputs.RuleProperties
    The rule for the mute
    StartDate string
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    Status Pulumi.AwsNative.CloudWatch.AlarmMuteRuleStatus
    The current status of the AlarmMuteRule
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Arn string
    Amazon Resource Name (ARN) of the AlarmMuteRule
    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.
    LastUpdatedTimestamp string
    The last update timestamp of the alarm mute schedule
    MuteTargets MuteTargetsProperties
    Targets to be muted
    MuteType string
    The mute type of the alarm mute
    Rule RuleProperties
    The rule for the mute
    StartDate string
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    Status AlarmMuteRuleStatus
    The current status of the AlarmMuteRule
    Tags Tag
    An array of key-value pairs to apply to this resource.
    arn String
    Amazon Resource Name (ARN) of the AlarmMuteRule
    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.
    lastUpdatedTimestamp String
    The last update timestamp of the alarm mute schedule
    muteTargets MuteTargetsProperties
    Targets to be muted
    muteType String
    The mute type of the alarm mute
    rule RuleProperties
    The rule for the mute
    startDate String
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    status AlarmMuteRuleStatus
    The current status of the AlarmMuteRule
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    arn string
    Amazon Resource Name (ARN) of the AlarmMuteRule
    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.
    lastUpdatedTimestamp string
    The last update timestamp of the alarm mute schedule
    muteTargets MuteTargetsProperties
    Targets to be muted
    muteType string
    The mute type of the alarm mute
    rule RuleProperties
    The rule for the mute
    startDate string
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    status AlarmMuteRuleStatus
    The current status of the AlarmMuteRule
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    arn str
    Amazon Resource Name (ARN) of the AlarmMuteRule
    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.
    last_updated_timestamp str
    The last update timestamp of the alarm mute schedule
    mute_targets MuteTargetsProperties
    Targets to be muted
    mute_type str
    The mute type of the alarm mute
    rule RuleProperties
    The rule for the mute
    start_date str
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    status AlarmMuteRuleStatus
    The current status of the AlarmMuteRule
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    arn String
    Amazon Resource Name (ARN) of the AlarmMuteRule
    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.
    lastUpdatedTimestamp String
    The last update timestamp of the alarm mute schedule
    muteTargets Property Map
    Targets to be muted
    muteType String
    The mute type of the alarm mute
    rule Property Map
    The rule for the mute
    startDate String
    The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
    status "SCHEDULED" | "ACTIVE" | "EXPIRED"
    The current status of the AlarmMuteRule
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    AlarmMuteRuleStatus

    MuteTargetsProperties

    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

    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

    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

    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.