Interface CfnPortal.AlarmsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPortal.AlarmsProperty.Jsii$Proxy
Enclosing class:
CfnPortal

@Stability(Stable) public static interface CfnPortal.AlarmsProperty extends software.amazon.jsii.JsiiSerializable
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.

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 .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iotsitewise.*;
 AlarmsProperty alarmsProperty = AlarmsProperty.builder()
         .alarmRoleArn("alarmRoleArn")
         .notificationLambdaArn("notificationLambdaArn")
         .build();
 

See Also: