Interface AlarmEvents.CloudWatchAlarmStateChange.Configuration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AlarmEvents.CloudWatchAlarmStateChange.Configuration.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.*;
Configuration configuration = Configuration.builder()
.actionsSuppressor(List.of("actionsSuppressor"))
.actionsSuppressorExtensionPeriod(List.of("actionsSuppressorExtensionPeriod"))
.actionsSuppressorWaitPeriod(List.of("actionsSuppressorWaitPeriod"))
.alarmRule(List.of("alarmRule"))
.description(List.of("description"))
.metrics(List.of(ConfigurationItem.builder()
.id(List.of("id"))
.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())
.returnData(List.of("returnData"))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAlarmEvents.CloudWatchAlarmStateChange.Configurationstatic final classAn implementation forAlarmEvents.CloudWatchAlarmStateChange.Configuration -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) actionsSuppressor property.(experimental) actionsSuppressorExtensionPeriod property.(experimental) actionsSuppressorWaitPeriod property.(experimental) alarmRule property.(experimental) description property.(experimental) metrics property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionsSuppressor
(experimental) actionsSuppressor property.Specify an array of string values to match this event if the actual value of actionsSuppressor 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
-
getActionsSuppressorExtensionPeriod
(experimental) actionsSuppressorExtensionPeriod property.Specify an array of string values to match this event if the actual value of actionsSuppressorExtensionPeriod 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
-
getActionsSuppressorWaitPeriod
(experimental) actionsSuppressorWaitPeriod property.Specify an array of string values to match this event if the actual value of actionsSuppressorWaitPeriod 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
-
getAlarmRule
(experimental) alarmRule property.Specify an array of string values to match this event if the actual value of alarmRule 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
-
getDescription
(experimental) description property.Specify an array of string values to match this event if the actual value of description 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
-
getMetrics
@Stability(Experimental) @Nullable default List<AlarmEvents.CloudWatchAlarmStateChange.ConfigurationItem> getMetrics()(experimental) metrics property.Specify an array of string values to match this event if the actual value of metrics 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
@Stability(Experimental) static AlarmEvents.CloudWatchAlarmStateChange.Configuration.Builder builder()
-