AlarmEvents

class aws_cdk.mixins_preview.aws_cloudwatch.events.AlarmEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for Alarm.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events
from aws_cdk.interfaces import aws_cloudwatch as interfaces_aws_cloudwatch

# alarm_ref: interfaces_aws_cloudwatch.IAlarmRef

alarm_events = cloudwatch_events.AlarmEvents.from_alarm(alarm_ref)

Methods

cloud_watch_alarm_configuration_change_pattern(*, alarm_name=None, configuration=None, event_metadata=None, operation=None, state=None)

(experimental) EventBridge event pattern for Alarm CloudWatch Alarm Configuration Change.

Parameters:
  • alarm_name (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • configuration (Union[Configuration, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • operation (Optional[Sequence[str]]) – (experimental) operation property. Specify an array of string values to match this event if the actual value of operation is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • state (Union[State, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

cloud_watch_alarm_state_change_pattern(*, alarm_name=None, configuration=None, event_metadata=None, previous_state=None, state=None)

(experimental) EventBridge event pattern for Alarm CloudWatch Alarm State Change.

Parameters:
  • alarm_name (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Filter with the Alarm reference

  • configuration (Union[Configuration, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • previous_state (Union[State, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • state (Union[State, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

Static Methods

classmethod from_alarm(alarm_ref)

(experimental) Create AlarmEvents from a Alarm reference.

Parameters:

alarm_ref (IAlarmRef)

Stability:

experimental

Return type:

AlarmEvents

CloudWatchAlarmConfigurationChange

class AlarmEvents.CloudWatchAlarmConfigurationChange

Bases: object

(experimental) aws.cloudwatch@CloudWatchAlarmConfigurationChange event types for Alarm.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

cloud_watch_alarm_configuration_change = cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange()
Stability:

experimental

CloudWatchAlarmConfigurationChangeProps

class AlarmEvents.CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps(*, alarm_name=None, configuration=None, event_metadata=None, operation=None, state=None)

Bases: object

(experimental) Props type for Alarm aws.cloudwatch@CloudWatchAlarmConfigurationChange event.

Parameters:
  • alarm_name (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • configuration (Union[Configuration, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • operation (Optional[Sequence[str]]) – (experimental) operation property. Specify an array of string values to match this event if the actual value of operation is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • state (Union[State, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

cloud_watch_alarm_configuration_change_props = cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps(
    alarm_name=["alarmName"],
    configuration=cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration(
        actions_enabled=["actionsEnabled"],
        actions_suppressor=["actionsSuppressor"],
        actions_suppressor_extension_period=["actionsSuppressorExtensionPeriod"],
        actions_suppressor_wait_period=["actionsSuppressorWaitPeriod"],
        alarm_actions=["alarmActions"],
        alarm_name=["alarmName"],
        alarm_rule=["alarmRule"],
        comparison_operator=["comparisonOperator"],
        datapoints_to_alarm=["datapointsToAlarm"],
        description=["description"],
        evaluate_low_sample_count_percentile=["evaluateLowSampleCountPercentile"],
        evaluation_periods=["evaluationPeriods"],
        insufficient_data_actions=["insufficientDataActions"],
        metrics=[cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.ConfigurationItem(
            id=["id"],
            metric_stat=cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.MetricStat(
                metric=cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.Metric(
                    dimensions=["dimensions"],
                    name=["name"],
                    namespace=["namespace"]
                ),
                period=["period"],
                stat=["stat"]
            ),
            return_data=["returnData"]
        )],
        ok_actions=["okActions"],
        threshold=["threshold"],
        timestamp=["timestamp"],
        treat_missing_data=["treatMissingData"]
    ),
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    operation=["operation"],
    state=cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.State(
        actions_suppressed_by=["actionsSuppressedBy"],
        evaluation_state=["evaluationState"],
        reason=["reason"],
        reason_data=["reasonData"],
        timestamp=["timestamp"],
        value=["value"]
    )
)

Attributes

alarm_name

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

configuration

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

operation

(experimental) operation property.

Specify an array of string values to match this event if the actual value of operation is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

state

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Configuration

class AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration(*, actions_enabled=None, actions_suppressor=None, actions_suppressor_extension_period=None, actions_suppressor_wait_period=None, alarm_actions=None, alarm_name=None, alarm_rule=None, comparison_operator=None, datapoints_to_alarm=None, description=None, evaluate_low_sample_count_percentile=None, evaluation_periods=None, insufficient_data_actions=None, metrics=None, ok_actions=None, threshold=None, timestamp=None, treat_missing_data=None)

Bases: object

(experimental) Type definition for Configuration.

Parameters:
  • actions_enabled (Optional[Sequence[str]]) – (experimental) actionsEnabled property. Specify an array of string values to match this event if the actual value of actionsEnabled is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • actions_suppressor (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • actions_suppressor_extension_period (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • actions_suppressor_wait_period (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • alarm_actions (Optional[Sequence[str]]) – (experimental) alarmActions property. Specify an array of string values to match this event if the actual value of alarmActions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • alarm_name (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Filter with the Alarm reference

  • alarm_rule (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • comparison_operator (Optional[Sequence[str]]) – (experimental) comparisonOperator property. Specify an array of string values to match this event if the actual value of comparisonOperator is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • datapoints_to_alarm (Optional[Sequence[str]]) – (experimental) datapointsToAlarm property. Specify an array of string values to match this event if the actual value of datapointsToAlarm is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • description (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • evaluate_low_sample_count_percentile (Optional[Sequence[str]]) – (experimental) evaluateLowSampleCountPercentile property. Specify an array of string values to match this event if the actual value of evaluateLowSampleCountPercentile is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • evaluation_periods (Optional[Sequence[str]]) – (experimental) evaluationPeriods property. Specify an array of string values to match this event if the actual value of evaluationPeriods is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • insufficient_data_actions (Optional[Sequence[str]]) – (experimental) insufficientDataActions property. Specify an array of string values to match this event if the actual value of insufficientDataActions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • metrics (Optional[Sequence[Union[ConfigurationItem, Dict[str, Any]]]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • ok_actions (Optional[Sequence[str]]) – (experimental) okActions property. Specify an array of string values to match this event if the actual value of okActions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • threshold (Optional[Sequence[str]]) – (experimental) threshold property. Specify an array of string values to match this event if the actual value of threshold is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • timestamp (Optional[Sequence[str]]) – (experimental) timestamp property. Specify an array of string values to match this event if the actual value of timestamp is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • treat_missing_data (Optional[Sequence[str]]) – (experimental) treatMissingData property. Specify an array of string values to match this event if the actual value of treatMissingData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

configuration = cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.Configuration(
    actions_enabled=["actionsEnabled"],
    actions_suppressor=["actionsSuppressor"],
    actions_suppressor_extension_period=["actionsSuppressorExtensionPeriod"],
    actions_suppressor_wait_period=["actionsSuppressorWaitPeriod"],
    alarm_actions=["alarmActions"],
    alarm_name=["alarmName"],
    alarm_rule=["alarmRule"],
    comparison_operator=["comparisonOperator"],
    datapoints_to_alarm=["datapointsToAlarm"],
    description=["description"],
    evaluate_low_sample_count_percentile=["evaluateLowSampleCountPercentile"],
    evaluation_periods=["evaluationPeriods"],
    insufficient_data_actions=["insufficientDataActions"],
    metrics=[cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.ConfigurationItem(
        id=["id"],
        metric_stat=cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.MetricStat(
            metric=cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.Metric(
                dimensions=["dimensions"],
                name=["name"],
                namespace=["namespace"]
            ),
            period=["period"],
            stat=["stat"]
        ),
        return_data=["returnData"]
    )],
    ok_actions=["okActions"],
    threshold=["threshold"],
    timestamp=["timestamp"],
    treat_missing_data=["treatMissingData"]
)

Attributes

actions_enabled

(experimental) actionsEnabled property.

Specify an array of string values to match this event if the actual value of actionsEnabled is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

actions_suppressor

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

actions_suppressor_extension_period

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

actions_suppressor_wait_period

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

alarm_actions

(experimental) alarmActions property.

Specify an array of string values to match this event if the actual value of alarmActions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

alarm_name

(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.Match for more advanced matching options.

Default:
  • Filter with the Alarm reference

Stability:

experimental

alarm_rule

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

comparison_operator

(experimental) comparisonOperator property.

Specify an array of string values to match this event if the actual value of comparisonOperator is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

datapoints_to_alarm

(experimental) datapointsToAlarm property.

Specify an array of string values to match this event if the actual value of datapointsToAlarm is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

description

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

evaluate_low_sample_count_percentile

(experimental) evaluateLowSampleCountPercentile property.

Specify an array of string values to match this event if the actual value of evaluateLowSampleCountPercentile is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

evaluation_periods

(experimental) evaluationPeriods property.

Specify an array of string values to match this event if the actual value of evaluationPeriods is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

insufficient_data_actions

(experimental) insufficientDataActions property.

Specify an array of string values to match this event if the actual value of insufficientDataActions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

metrics

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ok_actions

(experimental) okActions property.

Specify an array of string values to match this event if the actual value of okActions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

threshold

(experimental) threshold property.

Specify an array of string values to match this event if the actual value of threshold is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

timestamp

(experimental) timestamp property.

Specify an array of string values to match this event if the actual value of timestamp is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

treat_missing_data

(experimental) treatMissingData property.

Specify an array of string values to match this event if the actual value of treatMissingData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ConfigurationItem

class AlarmEvents.CloudWatchAlarmConfigurationChange.ConfigurationItem(*, id=None, metric_stat=None, return_data=None)

Bases: object

(experimental) Type definition for ConfigurationItem.

Parameters:
  • id (Optional[Sequence[str]]) – (experimental) id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • metric_stat (Union[MetricStat, Dict[str, Any], None]) – (experimental) metricStat property. Specify an array of string values to match this event if the actual value of metricStat is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • return_data (Optional[Sequence[str]]) – (experimental) returnData property. Specify an array of string values to match this event if the actual value of returnData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

configuration_item = cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.ConfigurationItem(
    id=["id"],
    metric_stat=cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.MetricStat(
        metric=cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.Metric(
            dimensions=["dimensions"],
            name=["name"],
            namespace=["namespace"]
        ),
        period=["period"],
        stat=["stat"]
    ),
    return_data=["returnData"]
)

Attributes

id

(experimental) id property.

Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

metric_stat

(experimental) metricStat property.

Specify an array of string values to match this event if the actual value of metricStat is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

return_data

(experimental) returnData property.

Specify an array of string values to match this event if the actual value of returnData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Metric

class AlarmEvents.CloudWatchAlarmConfigurationChange.Metric(*, dimensions=None, name=None, namespace=None)

Bases: object

(experimental) Type definition for Metric.

Parameters:
  • dimensions (Optional[Sequence[str]]) – (experimental) dimensions property. Specify an array of string values to match this event if the actual value of dimensions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • namespace (Optional[Sequence[str]]) – (experimental) namespace property. Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

metric = cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.Metric(
    dimensions=["dimensions"],
    name=["name"],
    namespace=["namespace"]
)

Attributes

dimensions

(experimental) dimensions property.

Specify an array of string values to match this event if the actual value of dimensions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

namespace

(experimental) namespace property.

Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

MetricStat

class AlarmEvents.CloudWatchAlarmConfigurationChange.MetricStat(*, metric=None, period=None, stat=None)

Bases: object

(experimental) Type definition for MetricStat.

Parameters:
  • metric (Union[Metric, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • period (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • stat (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

metric_stat = cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.MetricStat(
    metric=cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.Metric(
        dimensions=["dimensions"],
        name=["name"],
        namespace=["namespace"]
    ),
    period=["period"],
    stat=["stat"]
)

Attributes

metric

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

period

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

stat

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

State

class AlarmEvents.CloudWatchAlarmConfigurationChange.State(*, actions_suppressed_by=None, evaluation_state=None, reason=None, reason_data=None, timestamp=None, value=None)

Bases: object

(experimental) Type definition for State.

Parameters:
  • actions_suppressed_by (Optional[Sequence[str]]) – (experimental) actionsSuppressedBy property. Specify an array of string values to match this event if the actual value of actionsSuppressedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • evaluation_state (Optional[Sequence[str]]) – (experimental) evaluationState property. Specify an array of string values to match this event if the actual value of evaluationState is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • reason (Optional[Sequence[str]]) – (experimental) reason property. Specify an array of string values to match this event if the actual value of reason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • reason_data (Optional[Sequence[str]]) – (experimental) reasonData property. Specify an array of string values to match this event if the actual value of reasonData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • timestamp (Optional[Sequence[str]]) – (experimental) timestamp property. Specify an array of string values to match this event if the actual value of timestamp is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

state = cloudwatch_events.AlarmEvents.CloudWatchAlarmConfigurationChange.State(
    actions_suppressed_by=["actionsSuppressedBy"],
    evaluation_state=["evaluationState"],
    reason=["reason"],
    reason_data=["reasonData"],
    timestamp=["timestamp"],
    value=["value"]
)

Attributes

actions_suppressed_by

(experimental) actionsSuppressedBy property.

Specify an array of string values to match this event if the actual value of actionsSuppressedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

evaluation_state

(experimental) evaluationState property.

Specify an array of string values to match this event if the actual value of evaluationState is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

reason

(experimental) reason property.

Specify an array of string values to match this event if the actual value of reason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

reason_data

(experimental) reasonData property.

Specify an array of string values to match this event if the actual value of reasonData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

timestamp

(experimental) timestamp property.

Specify an array of string values to match this event if the actual value of timestamp is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

CloudWatchAlarmStateChange

class AlarmEvents.CloudWatchAlarmStateChange

Bases: object

(experimental) aws.cloudwatch@CloudWatchAlarmStateChange event types for Alarm.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

cloud_watch_alarm_state_change = cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange()
Stability:

experimental

CloudWatchAlarmStateChangeProps

class AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps(*, alarm_name=None, configuration=None, event_metadata=None, previous_state=None, state=None)

Bases: object

(experimental) Props type for Alarm aws.cloudwatch@CloudWatchAlarmStateChange event.

Parameters:
  • alarm_name (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Filter with the Alarm reference

  • configuration (Union[Configuration, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • previous_state (Union[State, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • state (Union[State, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

cloud_watch_alarm_state_change_props = cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps(
    alarm_name=["alarmName"],
    configuration=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.Configuration(
        actions_suppressor=["actionsSuppressor"],
        actions_suppressor_extension_period=["actionsSuppressorExtensionPeriod"],
        actions_suppressor_wait_period=["actionsSuppressorWaitPeriod"],
        alarm_rule=["alarmRule"],
        description=["description"],
        metrics=[cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.ConfigurationItem(
            id=["id"],
            metric_stat=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.MetricStat(
                metric=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.Metric(
                    dimensions=["dimensions"],
                    name=["name"],
                    namespace=["namespace"]
                ),
                period=["period"],
                stat=["stat"]
            ),
            return_data=["returnData"]
        )]
    ),
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    previous_state=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.State(
        actions_suppressed_by=["actionsSuppressedBy"],
        actions_suppressed_reason=["actionsSuppressedReason"],
        evaluation_state=["evaluationState"],
        reason=["reason"],
        reason_data=["reasonData"],
        timestamp=["timestamp"],
        value=["value"]
    ),
    state=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.State(
        actions_suppressed_by=["actionsSuppressedBy"],
        actions_suppressed_reason=["actionsSuppressedReason"],
        evaluation_state=["evaluationState"],
        reason=["reason"],
        reason_data=["reasonData"],
        timestamp=["timestamp"],
        value=["value"]
    )
)

Attributes

alarm_name

(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.Match for more advanced matching options.

Default:
  • Filter with the Alarm reference

Stability:

experimental

configuration

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

previous_state

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

state

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Configuration

class AlarmEvents.CloudWatchAlarmStateChange.Configuration(*, actions_suppressor=None, actions_suppressor_extension_period=None, actions_suppressor_wait_period=None, alarm_rule=None, description=None, metrics=None)

Bases: object

(experimental) Type definition for Configuration.

Parameters:
  • actions_suppressor (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • actions_suppressor_extension_period (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • actions_suppressor_wait_period (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • alarm_rule (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • description (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • metrics (Optional[Sequence[Union[ConfigurationItem, Dict[str, Any]]]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

configuration = cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.Configuration(
    actions_suppressor=["actionsSuppressor"],
    actions_suppressor_extension_period=["actionsSuppressorExtensionPeriod"],
    actions_suppressor_wait_period=["actionsSuppressorWaitPeriod"],
    alarm_rule=["alarmRule"],
    description=["description"],
    metrics=[cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.ConfigurationItem(
        id=["id"],
        metric_stat=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.MetricStat(
            metric=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.Metric(
                dimensions=["dimensions"],
                name=["name"],
                namespace=["namespace"]
            ),
            period=["period"],
            stat=["stat"]
        ),
        return_data=["returnData"]
    )]
)

Attributes

actions_suppressor

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

actions_suppressor_extension_period

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

actions_suppressor_wait_period

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

alarm_rule

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

description

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

metrics

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ConfigurationItem

class AlarmEvents.CloudWatchAlarmStateChange.ConfigurationItem(*, id=None, metric_stat=None, return_data=None)

Bases: object

(experimental) Type definition for ConfigurationItem.

Parameters:
  • id (Optional[Sequence[str]]) – (experimental) id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • metric_stat (Union[MetricStat, Dict[str, Any], None]) – (experimental) metricStat property. Specify an array of string values to match this event if the actual value of metricStat is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • return_data (Optional[Sequence[str]]) – (experimental) returnData property. Specify an array of string values to match this event if the actual value of returnData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

configuration_item = cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.ConfigurationItem(
    id=["id"],
    metric_stat=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.MetricStat(
        metric=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.Metric(
            dimensions=["dimensions"],
            name=["name"],
            namespace=["namespace"]
        ),
        period=["period"],
        stat=["stat"]
    ),
    return_data=["returnData"]
)

Attributes

id

(experimental) id property.

Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

metric_stat

(experimental) metricStat property.

Specify an array of string values to match this event if the actual value of metricStat is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

return_data

(experimental) returnData property.

Specify an array of string values to match this event if the actual value of returnData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Metric

class AlarmEvents.CloudWatchAlarmStateChange.Metric(*, dimensions=None, name=None, namespace=None)

Bases: object

(experimental) Type definition for Metric.

Parameters:
  • dimensions (Optional[Sequence[str]]) – (experimental) dimensions property. Specify an array of string values to match this event if the actual value of dimensions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • namespace (Optional[Sequence[str]]) – (experimental) namespace property. Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

metric = cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.Metric(
    dimensions=["dimensions"],
    name=["name"],
    namespace=["namespace"]
)

Attributes

dimensions

(experimental) dimensions property.

Specify an array of string values to match this event if the actual value of dimensions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

namespace

(experimental) namespace property.

Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

MetricStat

class AlarmEvents.CloudWatchAlarmStateChange.MetricStat(*, metric=None, period=None, stat=None)

Bases: object

(experimental) Type definition for MetricStat.

Parameters:
  • metric (Union[Metric, Dict[str, Any], None]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • period (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

  • stat (Optional[Sequence[str]]) – (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.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

metric_stat = cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.MetricStat(
    metric=cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.Metric(
        dimensions=["dimensions"],
        name=["name"],
        namespace=["namespace"]
    ),
    period=["period"],
    stat=["stat"]
)

Attributes

metric

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

period

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

stat

(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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

State

class AlarmEvents.CloudWatchAlarmStateChange.State(*, actions_suppressed_by=None, actions_suppressed_reason=None, evaluation_state=None, reason=None, reason_data=None, timestamp=None, value=None)

Bases: object

(experimental) Type definition for State.

Parameters:
  • actions_suppressed_by (Optional[Sequence[str]]) – (experimental) actionsSuppressedBy property. Specify an array of string values to match this event if the actual value of actionsSuppressedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • actions_suppressed_reason (Optional[Sequence[str]]) – (experimental) actionsSuppressedReason property. Specify an array of string values to match this event if the actual value of actionsSuppressedReason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • evaluation_state (Optional[Sequence[str]]) – (experimental) evaluationState property. Specify an array of string values to match this event if the actual value of evaluationState is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • reason (Optional[Sequence[str]]) – (experimental) reason property. Specify an array of string values to match this event if the actual value of reason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • reason_data (Optional[Sequence[str]]) – (experimental) reasonData property. Specify an array of string values to match this event if the actual value of reasonData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • timestamp (Optional[Sequence[str]]) – (experimental) timestamp property. Specify an array of string values to match this event if the actual value of timestamp is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudwatch import events as cloudwatch_events

state = cloudwatch_events.AlarmEvents.CloudWatchAlarmStateChange.State(
    actions_suppressed_by=["actionsSuppressedBy"],
    actions_suppressed_reason=["actionsSuppressedReason"],
    evaluation_state=["evaluationState"],
    reason=["reason"],
    reason_data=["reasonData"],
    timestamp=["timestamp"],
    value=["value"]
)

Attributes

actions_suppressed_by

(experimental) actionsSuppressedBy property.

Specify an array of string values to match this event if the actual value of actionsSuppressedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

actions_suppressed_reason

(experimental) actionsSuppressedReason property.

Specify an array of string values to match this event if the actual value of actionsSuppressedReason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

evaluation_state

(experimental) evaluationState property.

Specify an array of string values to match this event if the actual value of evaluationState is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

reason

(experimental) reason property.

Specify an array of string values to match this event if the actual value of reason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

reason_data

(experimental) reasonData property.

Specify an array of string values to match this event if the actual value of reasonData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

timestamp

(experimental) timestamp property.

Specify an array of string values to match this event if the actual value of timestamp is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental