AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateAlarmModel operation. Creates an alarm model to monitor an AWS IoT Events input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see Create an alarm model in the AWS IoT Events Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoTEvents.AmazonIoTEventsRequest
      Amazon.IoTEvents.Model.CreateAlarmModelRequest

Namespace: Amazon.IoTEvents.Model
Assembly: AWSSDK.IoTEvents.dll
Version: 3.x.y.z

Syntax

C#
public class CreateAlarmModelRequest : AmazonIoTEventsRequest
         IAmazonWebServiceRequest

The CreateAlarmModelRequest type exposes the following members

Constructors

NameDescription
Public Method CreateAlarmModelRequest()

Properties

NameTypeDescription
Public Property AlarmCapabilities Amazon.IoTEvents.Model.AlarmCapabilities

Gets and sets the property AlarmCapabilities.

Contains the configuration information of alarm state changes.

Public Property AlarmEventActions Amazon.IoTEvents.Model.AlarmEventActions

Gets and sets the property AlarmEventActions.

Contains information about one or more alarm actions.

Public Property AlarmModelDescription System.String

Gets and sets the property AlarmModelDescription.

A description that tells you what the alarm model detects.

Public Property AlarmModelName System.String

Gets and sets the property AlarmModelName.

A unique name that helps you identify the alarm model. You can't change this name after you create the alarm model.

Public Property AlarmNotification Amazon.IoTEvents.Model.AlarmNotification

Gets and sets the property AlarmNotification.

Contains information about one or more notification actions.

Public Property AlarmRule Amazon.IoTEvents.Model.AlarmRule

Gets and sets the property AlarmRule.

Defines when your alarm is invoked.

Public Property Key System.String

Gets and sets the property Key.

An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.

Public Property RoleArn System.String

Gets and sets the property RoleArn.

The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

Public Property Severity System.Int32

Gets and sets the property Severity.

A non-negative integer that reflects the severity level of the alarm.

Public Property Tags System.Collections.Generic.List<Amazon.IoTEvents.Model.Tag>

Gets and sets the property Tags.

A list of key-value pairs that contain metadata for the alarm model. The tags help you manage the alarm model. For more information, see Tagging your AWS IoT Events resources in the AWS IoT Events Developer Guide.

You can create up to 50 tags for one alarm model.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5