Interface CfnTopicRule.CloudwatchMetricActionProperty

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

@Stability(Stable) public static interface CfnTopicRule.CloudwatchMetricActionProperty extends software.amazon.jsii.JsiiSerializable
Describes an action that captures a CloudWatch metric.

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.*;
 CloudwatchMetricActionProperty cloudwatchMetricActionProperty = CloudwatchMetricActionProperty.builder()
         .metricName("metricName")
         .metricNamespace("metricNamespace")
         .metricUnit("metricUnit")
         .metricValue("metricValue")
         .roleArn("roleArn")
         // the properties below are optional
         .metricTimestamp("metricTimestamp")
         .build();