@Stability(value=Stable)
public static interface CfnTopicRule.CloudwatchAlarmActionProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTopicRule.CloudwatchAlarmActionProperty.Builder
A builder for
CfnTopicRule.CloudwatchAlarmActionProperty |
static class |
CfnTopicRule.CloudwatchAlarmActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.CloudwatchAlarmActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTopicRule.CloudwatchAlarmActionProperty.Builder |
builder() |
String |
getAlarmName()
The CloudWatch alarm name.
|
String |
getRoleArn()
The IAM role that allows access to the CloudWatch alarm.
|
String |
getStateReason()
The reason for the alarm change.
|
String |
getStateValue()
The value of the alarm state.
|
@Stability(value=Stable) @NotNull String getAlarmName()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull String getStateReason()
@Stability(value=Stable) @NotNull String getStateValue()
Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
@Stability(value=Stable) static CfnTopicRule.CloudwatchAlarmActionProperty.Builder builder()
Copyright © 2022. All rights reserved.