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_aws_route53recoveryreadiness

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

  • recovery_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 the aws_events.Match for more advanced matching options. Default: - Filter with the RecoveryGroup reference

Stability:

experimental

Return type:

EventPattern

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:

RecoveryGroupEvents

Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange

class RecoveryGroupEvents.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange

Bases: object

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

route53_application_recovery_controller_recovery_group_readiness_status_change = route53recoveryreadiness_events.RecoveryGroupEvents.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange()
Stability:

experimental

Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChangeProps

class RecoveryGroupEvents.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChangeProps(*, event_metadata=None, new_state=None, previous_state=None, recovery_group_name=None)

Bases: object

(experimental) Props type for RecoveryGroup aws.route53recoveryreadiness@Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange 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

  • recovery_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 the aws_events.Match for more advanced matching options. Default: - Filter with the RecoveryGroup 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_recovery_group_readiness_status_change_props = route53recoveryreadiness_events.RecoveryGroupEvents.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChangeProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    new_state=route53recoveryreadiness_events.RecoveryGroupEvents.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange.State(
        readiness_status=["readinessStatus"]
    ),
    previous_state=route53recoveryreadiness_events.RecoveryGroupEvents.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange.State(
        readiness_status=["readinessStatus"]
    ),
    recovery_group_name=["recoveryGroupName"]
)

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

recovery_group_name

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

Default:
  • Filter with the RecoveryGroup reference

Stability:

experimental

State

class RecoveryGroupEvents.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange.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.RecoveryGroupEvents.Route53ApplicationRecoveryControllerRecoveryGroupReadinessStatusChange.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