Interface CfnTopicRule.CloudwatchAlarmActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRule.CloudwatchAlarmActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRule
@Stability(Stable)
public static interface CfnTopicRule.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.services.iot.*; CloudwatchAlarmActionProperty cloudwatchAlarmActionProperty = CloudwatchAlarmActionProperty.builder() .alarmName("alarmName") .roleArn("roleArn") .stateReason("stateReason") .stateValue("stateValue") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTopicRule.CloudwatchAlarmActionProperty
static final class
An implementation forCfnTopicRule.CloudwatchAlarmActionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The CloudWatch alarm name.The IAM role that allows access to the CloudWatch alarm.The reason for the alarm change.The value of the alarm state.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
-