CellEvents

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

Bases: object

(experimental) EventBridge event patterns for Cell.

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

# cell_ref: interfaces_aws_route53recoveryreadiness.ICellRef

cell_events = route53recoveryreadiness_events.CellEvents.from_cell(cell_ref)

Methods

route53_application_recovery_controller_cell_readiness_status_change_pattern(*, cell_name=None, event_metadata=None, new_state=None, previous_state=None)

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

Parameters:
  • cell_name (Optional[Sequence[str]]) – (experimental) cell-name property. Specify an array of string values to match this event if the actual value of cell-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 Cell reference

  • 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

Stability:

experimental

Return type:

EventPattern

Static Methods

classmethod from_cell(cell_ref)

(experimental) Create CellEvents from a Cell reference.

Parameters:

cell_ref (ICellRef)

Stability:

experimental

Return type:

CellEvents

Route53ApplicationRecoveryControllerCellReadinessStatusChange

class CellEvents.Route53ApplicationRecoveryControllerCellReadinessStatusChange

Bases: object

(experimental) aws.route53recoveryreadiness@Route53ApplicationRecoveryControllerCellReadinessStatusChange event types for Cell.

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_cell_readiness_status_change = route53recoveryreadiness_events.CellEvents.Route53ApplicationRecoveryControllerCellReadinessStatusChange()
Stability:

experimental

Route53ApplicationRecoveryControllerCellReadinessStatusChangeProps

class CellEvents.Route53ApplicationRecoveryControllerCellReadinessStatusChange.Route53ApplicationRecoveryControllerCellReadinessStatusChangeProps(*, cell_name=None, event_metadata=None, new_state=None, previous_state=None)

Bases: object

(experimental) Props type for Cell aws.route53recoveryreadiness@Route53ApplicationRecoveryControllerCellReadinessStatusChange event.

Parameters:
  • cell_name (Optional[Sequence[str]]) – (experimental) cell-name property. Specify an array of string values to match this event if the actual value of cell-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 Cell reference

  • 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

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_cell_readiness_status_change_props = route53recoveryreadiness_events.CellEvents.Route53ApplicationRecoveryControllerCellReadinessStatusChange.Route53ApplicationRecoveryControllerCellReadinessStatusChangeProps(
    cell_name=["cellName"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    new_state=route53recoveryreadiness_events.CellEvents.Route53ApplicationRecoveryControllerCellReadinessStatusChange.State(
        readiness_status=["readinessStatus"]
    ),
    previous_state=route53recoveryreadiness_events.CellEvents.Route53ApplicationRecoveryControllerCellReadinessStatusChange.State(
        readiness_status=["readinessStatus"]
    )
)

Attributes

cell_name

(experimental) cell-name property.

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

Stability:

experimental

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

State

class CellEvents.Route53ApplicationRecoveryControllerCellReadinessStatusChange.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.CellEvents.Route53ApplicationRecoveryControllerCellReadinessStatusChange.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