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_aws_route53recoveryreadiness

# readiness_check_ref: interfaces_aws_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

Route53ApplicationRecoveryControllerReadinessCheckStatusChange

class ReadinessCheckEvents.Route53ApplicationRecoveryControllerReadinessCheckStatusChange

Bases: object

(experimental) aws.route53recoveryreadiness@Route53ApplicationRecoveryControllerReadinessCheckStatusChange event types 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

route53_application_recovery_controller_readiness_check_status_change = route53recoveryreadiness_events.ReadinessCheckEvents.Route53ApplicationRecoveryControllerReadinessCheckStatusChange()
Stability:

experimental

Route53ApplicationRecoveryControllerReadinessCheckStatusChangeProps

class ReadinessCheckEvents.Route53ApplicationRecoveryControllerReadinessCheckStatusChange.Route53ApplicationRecoveryControllerReadinessCheckStatusChangeProps(*, event_metadata=None, new_state=None, previous_state=None, readiness_check_name=None)

Bases: object

(experimental) Props type for ReadinessCheck aws.route53recoveryreadiness@Route53ApplicationRecoveryControllerReadinessCheckStatusChange event.

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

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

route53_application_recovery_controller_readiness_check_status_change_props = route53recoveryreadiness_events.ReadinessCheckEvents.Route53ApplicationRecoveryControllerReadinessCheckStatusChange.Route53ApplicationRecoveryControllerReadinessCheckStatusChangeProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    new_state=route53recoveryreadiness_events.ReadinessCheckEvents.Route53ApplicationRecoveryControllerReadinessCheckStatusChange.State(
        readiness_status=["readinessStatus"]
    ),
    previous_state=route53recoveryreadiness_events.ReadinessCheckEvents.Route53ApplicationRecoveryControllerReadinessCheckStatusChange.State(
        readiness_status=["readinessStatus"]
    ),
    readiness_check_name=["readinessCheckName"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

new_state

(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

Stability:

experimental

previous_state

(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

Stability:

experimental

readiness_check_name

(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

State

class ReadinessCheckEvents.Route53ApplicationRecoveryControllerReadinessCheckStatusChange.State(*, readiness_status=None)

Bases: object

(experimental) Type definition for State.

Parameters:

readiness_status (Optional[Sequence[str]]) – (experimental) readiness-status property. Specify an array of string values to match this event if the actual value of readiness-status 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_route53recoveryreadiness import events as route53recoveryreadiness_events

state = route53recoveryreadiness_events.ReadinessCheckEvents.Route53ApplicationRecoveryControllerReadinessCheckStatusChange.State(
    readiness_status=["readinessStatus"]
)

Attributes

readiness_status

(experimental) readiness-status property.

Specify an array of string values to match this event if the actual value of readiness-status 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