Show / Hide Table of Contents

Interface ICfnAlarmMuteRuleProps

Properties for defining a CfnAlarmMuteRule.

Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnAlarmMuteRuleProps
Syntax (vb)
Public Interface ICfnAlarmMuteRuleProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarmmuterule.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudWatch;

             var cfnAlarmMuteRuleProps = new CfnAlarmMuteRuleProps {
                 Rule = new RuleProperty {
                     Schedule = new ScheduleProperty {
                         Duration = "duration",
                         Expression = "expression",

                         // the properties below are optional
                         Timezone = "timezone"
                     }
                 },

                 // the properties below are optional
                 Description = "description",
                 ExpireDate = "expireDate",
                 MuteTargets = new MuteTargetsProperty {
                     AlarmNames = new [] { "alarmNames" }
                 },
                 Name = "name",
                 StartDate = "startDate",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Properties

Description

The description of the AlarmMuteRule.

ExpireDate

The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.

MuteTargets

Targets to be muted.

Name

The name of the AlarmMuteRule.

Rule

The rule for the mute.

StartDate

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.

Properties

Description

The description of the AlarmMuteRule.

string? Description { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarmmuterule.html#cfn-cloudwatch-alarmmuterule-description

ExpireDate

The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.

string? ExpireDate { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarmmuterule.html#cfn-cloudwatch-alarmmuterule-expiredate

MuteTargets

Targets to be muted.

object? MuteTargets { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarmmuterule.html#cfn-cloudwatch-alarmmuterule-mutetargets

Type union: either IResolvable or CfnAlarmMuteRule.IMuteTargetsProperty

Name

The name of the AlarmMuteRule.

string? Name { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarmmuterule.html#cfn-cloudwatch-alarmmuterule-name

Rule

The rule for the mute.

object Rule { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarmmuterule.html#cfn-cloudwatch-alarmmuterule-rule

Type union: either IResolvable or CfnAlarmMuteRule.IRuleProperty

StartDate

The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.

string? StartDate { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarmmuterule.html#cfn-cloudwatch-alarmmuterule-startdate

Tags

An array of key-value pairs to apply to this resource.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarmmuterule.html#cfn-cloudwatch-alarmmuterule-tags

Back to top Generated by DocFX