Interface CfnTopicRulePropsMixin.CloudwatchAlarmActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRulePropsMixin.CloudwatchAlarmActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRulePropsMixin
@Stability(Stable)
public static interface CfnTopicRulePropsMixin.CloudwatchAlarmActionProperty
extends software.amazon.jsii.JsiiSerializable
Describes an action that updates a CloudWatch alarm.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.iot.mixins.*;
CloudwatchAlarmActionProperty cloudwatchAlarmActionProperty = CloudwatchAlarmActionProperty.builder()
.alarmName("alarmName")
.roleArn("roleArn")
.stateReason("stateReason")
.stateValue("stateValue")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRulePropsMixin.CloudwatchAlarmActionPropertystatic final classAn implementation forCfnTopicRulePropsMixin.CloudwatchAlarmActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlarmName
The CloudWatch alarm name.- See Also:
-
getRoleArn
The IAM role that allows access to the CloudWatch alarm.- See Also:
-
getStateReason
The reason for the alarm change.- See Also:
-
getStateValue
The value of the alarm state.Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
- See Also:
-
builder
-