Show / Hide Table of Contents

Class CfnTopicRule.CloudwatchAlarmActionProperty

Describes an action that updates a CloudWatch alarm.

Inheritance
object
CfnTopicRule.CloudwatchAlarmActionProperty
Implements
CfnTopicRule.ICloudwatchAlarmActionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTopicRule.CloudwatchAlarmActionProperty : CfnTopicRule.ICloudwatchAlarmActionProperty
Syntax (vb)
Public Class CfnTopicRule.CloudwatchAlarmActionProperty Implements CfnTopicRule.ICloudwatchAlarmActionProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.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.IoT;

             var cloudwatchAlarmActionProperty = new CloudwatchAlarmActionProperty {
                 AlarmName = "alarmName",
                 RoleArn = "roleArn",
                 StateReason = "stateReason",
                 StateValue = "stateValue"
             };

Synopsis

Constructors

CloudwatchAlarmActionProperty()

Describes an action that updates a CloudWatch alarm.

Properties

AlarmName

The CloudWatch alarm name.

RoleArn

The IAM role that allows access to the CloudWatch alarm.

StateReason

The reason for the alarm change.

StateValue

The value of the alarm state.

Constructors

CloudwatchAlarmActionProperty()

Describes an action that updates a CloudWatch alarm.

public CloudwatchAlarmActionProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.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.IoT;

             var cloudwatchAlarmActionProperty = new CloudwatchAlarmActionProperty {
                 AlarmName = "alarmName",
                 RoleArn = "roleArn",
                 StateReason = "stateReason",
                 StateValue = "stateValue"
             };

Properties

AlarmName

The CloudWatch alarm name.

public string AlarmName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html#cfn-iot-topicrule-cloudwatchalarmaction-alarmname

RoleArn

The IAM role that allows access to the CloudWatch alarm.

public string RoleArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html#cfn-iot-topicrule-cloudwatchalarmaction-rolearn

StateReason

The reason for the alarm change.

public string StateReason { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html#cfn-iot-topicrule-cloudwatchalarmaction-statereason

StateValue

The value of the alarm state.

public string StateValue { get; set; }
Property Value

string

Remarks

Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html#cfn-iot-topicrule-cloudwatchalarmaction-statevalue

Implements

CfnTopicRule.ICloudwatchAlarmActionProperty
Back to top Generated by DocFX