ReadinessCheckEvents

class aws_cdk.mixins_preview.aws_route53recoveryreadiness.events.ReadinessCheckEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for ReadinessCheck.

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_route53recoveryreadiness import events as route53recoveryreadiness_events
from aws_cdk.interfaces import aws_route53recoveryreadiness as interfaces_route53recoveryreadiness

# readiness_check_ref: interfaces_route53recoveryreadiness.IReadinessCheckRef

readiness_check_events = route53recoveryreadiness_events.ReadinessCheckEvents.from_readiness_check(readiness_check_ref)

Methods

route53_application_recovery_controller_readiness_check_status_change_pattern(*, event_metadata=None, new_state=None, previous_state=None, readiness_check_name=None)

(experimental) EventBridge event pattern for ReadinessCheck Route 53 Application Recovery Controller readiness check status change.

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

  • new_state (Union[State, Dict[str, Any], None]) – (experimental) new-state property. Specify an array of string values to match this event if the actual value of new-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

  • previous_state (Union[State, Dict[str, Any], None]) – (experimental) previous-state property. Specify an array of string values to match this event if the actual value of previous-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

  • readiness_check_name (Optional[Sequence[str]]) – (experimental) readiness-check-name property. Specify an array of string values to match this event if the actual value of readiness-check-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: - Filter with the ReadinessCheck reference

Stability:

experimental

Return type:

EventPattern

Static Methods

classmethod from_readiness_check(readiness_check_ref)

(experimental) Create ReadinessCheckEvents from a ReadinessCheck reference.

Parameters:

readiness_check_ref (IReadinessCheckRef)

Stability:

experimental

Return type:

ReadinessCheckEvents