ExecutionEvents

class aws_cdk.mixins_preview.aws_states.events.ExecutionEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for Execution.

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_states import events as states_events
from aws_cdk.interfaces import aws_states as interfaces_states

# execution_ref: interfaces_states.IExecutionRef

execution_events = states_events.ExecutionEvents.from_execution(execution_ref)

Methods

step_functions_execution_status_change_pattern(*, event_metadata=None, execution_arn=None, input=None, name=None, output=None, start_date=None, state_machine_arn=None, status=None, stop_date=None)

(experimental) EventBridge event pattern for Execution Step Functions Execution Status Change.

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

  • execution_arn (Optional[Sequence[str]]) – (experimental) executionArn property. Specify an array of string values to match this event if the actual value of executionArn 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 Execution reference

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

  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of 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: - Do not filter on this field

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

  • start_date (Optional[Sequence[str]]) – (experimental) startDate property. Specify an array of string values to match this event if the actual value of startDate 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

  • state_machine_arn (Optional[Sequence[str]]) – (experimental) stateMachineArn property. Specify an array of string values to match this event if the actual value of stateMachineArn 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

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

  • stop_date (Optional[Sequence[str]]) – (experimental) stopDate property. Specify an array of string values to match this event if the actual value of stopDate 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_execution(execution_ref)

(experimental) Create ExecutionEvents from a Execution reference.

Parameters:

execution_ref (IExecutionRef)

Stability:

experimental

Return type:

ExecutionEvents