Interface CfnTopicRulePropsMixin.CloudwatchMetricActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRulePropsMixin.CloudwatchMetricActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRulePropsMixin
@Stability(Stable)
public static interface CfnTopicRulePropsMixin.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.cfnpropertymixins.services.iot.*;
CloudwatchMetricActionProperty cloudwatchMetricActionProperty = CloudwatchMetricActionProperty.builder()
.metricName("metricName")
.metricNamespace("metricNamespace")
.metricTimestamp("metricTimestamp")
.metricUnit("metricUnit")
.metricValue("metricValue")
.roleArn("roleArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRulePropsMixin.CloudwatchMetricActionPropertystatic final classAn implementation forCfnTopicRulePropsMixin.CloudwatchMetricActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe CloudWatch metric name.default StringThe CloudWatch metric namespace name.default StringAn optional Unix timestamp .default StringThe metric unit supported by CloudWatch.default StringThe CloudWatch metric value.default StringThe IAM role that allows access to the CloudWatch metric.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricName
The CloudWatch metric name.- See Also:
-
getMetricNamespace
The CloudWatch metric namespace name.- See Also:
-
getMetricTimestamp
An optional Unix timestamp .- See Also:
-
getMetricUnit
The metric unit supported by CloudWatch.- See Also:
-
getMetricValue
The CloudWatch metric value.- See Also:
-
getRoleArn
The IAM role that allows access to the CloudWatch metric.- See Also:
-
builder
-