Interface AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps.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.*;
CloudWatchAlarmStateChangeProps cloudWatchAlarmStateChangeProps = CloudWatchAlarmStateChangeProps.builder()
.alarmName(List.of("alarmName"))
.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())
.eventMetadata(AWSEventMetadataProps.builder()
.region(List.of("region"))
.resources(List.of("resources"))
.version(List.of("version"))
.build())
.previousState(State.builder()
.actionsSuppressedBy(List.of("actionsSuppressedBy"))
.actionsSuppressedReason(List.of("actionsSuppressedReason"))
.evaluationState(List.of("evaluationState"))
.reason(List.of("reason"))
.reasonData(List.of("reasonData"))
.timestamp(List.of("timestamp"))
.value(List.of("value"))
.build())
.state(State.builder()
.actionsSuppressedBy(List.of("actionsSuppressedBy"))
.actionsSuppressedReason(List.of("actionsSuppressedReason"))
.evaluationState(List.of("evaluationState"))
.reason(List.of("reason"))
.reasonData(List.of("reasonData"))
.timestamp(List.of("timestamp"))
.value(List.of("value"))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forAlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) alarmName property.(experimental) configuration property.default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) previousState property.getState()(experimental) state property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlarmName
(experimental) alarmName property.Specify an array of string values to match this event if the actual value of alarmName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Filter with the Alarm reference
-
getConfiguration
@Stability(Experimental) @Nullable default AlarmEvents.CloudWatchAlarmStateChange.Configuration getConfiguration()(experimental) configuration property.Specify an array of string values to match this event if the actual value of configuration 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
-
getEventMetadata
(experimental) EventBridge event metadata.Default: - -
-
getPreviousState
@Stability(Experimental) @Nullable default AlarmEvents.CloudWatchAlarmStateChange.State getPreviousState()(experimental) previousState property.Specify an array of string values to match this event if the actual value of previousState 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
-
getState
(experimental) state property.Specify an array of string values to match this event if the actual value of state 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.CloudWatchAlarmStateChangeProps.Builder builder()
-