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 theaws_events.Matchfor more advanced matching options. Default: - Filter with the Execution referenceinput (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldname (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldoutput (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstart_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstate_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstatus (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstop_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
Static Methods
- classmethod from_execution(execution_ref)
(experimental) Create ExecutionEvents from a Execution reference.
- Parameters:
execution_ref (
IExecutionRef)- Stability:
experimental
- Return type: