Interface AlarmEvents.CloudWatchAlarmStateChange.MetricStat
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AlarmEvents.CloudWatchAlarmStateChange.MetricStat.Jsii$Proxy
- Enclosing class:
AlarmEvents.CloudWatchAlarmStateChange
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.cloudwatch.events.*;
MetricStat metricStat = MetricStat.builder()
.metric(Metric.builder()
.dimensions(List.of("dimensions"))
.name(List.of("name"))
.namespace(List.of("namespace"))
.build())
.period(List.of("period"))
.stat(List.of("stat"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAlarmEvents.CloudWatchAlarmStateChange.MetricStatstatic final classAn implementation forAlarmEvents.CloudWatchAlarmStateChange.MetricStat -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetric
@Stability(Experimental) @Nullable default AlarmEvents.CloudWatchAlarmStateChange.Metric getMetric()(experimental) metric property.Specify an array of string values to match this event if the actual value of metric is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getPeriod
(experimental) period property.Specify an array of string values to match this event if the actual value of period is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getStat
(experimental) stat property.Specify an array of string values to match this event if the actual value of stat is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-