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 CfnPortal.IAlarmsProperty
Syntax (vb)
Public Interface CfnPortal.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
| 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 . |
| 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 . |
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 .
string? AlarmRoleArn { get; }
Property Value
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 .
string? NotificationLambdaArn { get; }