RecoveryGroupEvents
- class aws_cdk.mixins_preview.aws_route53recoveryreadiness.events.RecoveryGroupEvents(*args: Any, **kwargs)
Bases:
object(experimental) EventBridge event patterns for RecoveryGroup.
- 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 # recovery_group_ref: interfaces_route53recoveryreadiness.IRecoveryGroupRef recovery_group_events = route53recoveryreadiness_events.RecoveryGroupEvents.from_recovery_group(recovery_group_ref)
Methods
- route53_application_recovery_controller_recovery_group_readiness_status_change_pattern(*, event_metadata=None, new_state=None, previous_state=None, recovery_group_name=None)
(experimental) EventBridge event pattern for RecoveryGroup Route 53 Application Recovery Controller recovery group readiness 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprevious_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrecovery_group_name (
Optional[Sequence[str]]) – (experimental) recovery-group-name property. Specify an array of string values to match this event if the actual value of recovery-group-name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the RecoveryGroup reference
- Stability:
experimental
- Return type:
Static Methods
- classmethod from_recovery_group(recovery_group_ref)
(experimental) Create RecoveryGroupEvents from a RecoveryGroup reference.
- Parameters:
recovery_group_ref (
IRecoveryGroupRef)- Stability:
experimental
- Return type: