Interface CfnPortal.IAlarmsProperty
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAlarmsProperty
Syntax (vb)
Public Interface IAlarmsProperty
Remarks
You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the AWS IoT SiteWise Application Guide .
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.IoTSiteWise;
var alarmsProperty = new AlarmsProperty {
AlarmRoleArn = "alarmRoleArn",
NotificationLambdaArn = "notificationLambdaArn"
};
Synopsis
Properties
Alarm |
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources and services, such as AWS IoT Events . |
Notification |
The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the AWS IoT Events Developer Guide . |
Properties
AlarmRoleArn
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources and services, such as AWS IoT Events .
virtual string AlarmRoleArn { get; }
Property Value
System.
Remarks
NotificationLambdaArn
The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the AWS IoT Events Developer Guide .
virtual string NotificationLambdaArn { get; }
Property Value
System.