CodePipelinePipelineExecutionStateChange

class aws_cdk.mixins_preview.aws_codepipeline.events.CodePipelinePipelineExecutionStateChange

Bases: object

(experimental) EventBridge event pattern for aws.codepipeline@CodePipelinePipelineExecutionStateChange.

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_codepipeline import events as codepipeline_events

code_pipeline_pipeline_execution_state_change = codepipeline_events.CodePipelinePipelineExecutionStateChange()
Stability:

experimental

Static Methods

classmethod code_pipeline_pipeline_execution_state_change_pattern(*, event_metadata=None, execution_id=None, execution_trigger=None, pipeline=None, state=None, version=None)

(experimental) EventBridge event pattern for CodePipeline Pipeline Execution State Change.

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

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

  • execution_trigger (Union[ExecutionTrigger, Dict[str, Any], None]) – (experimental) execution-trigger property. Specify an array of string values to match this event if the actual value of execution-trigger 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

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

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

CodePipelinePipelineExecutionStateChangeProps

class CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps(*, event_metadata=None, execution_id=None, execution_trigger=None, pipeline=None, state=None, version=None)

Bases: object

(experimental) Props type for aws.codepipeline@CodePipelinePipelineExecutionStateChange event.

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

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

  • execution_trigger (Union[ExecutionTrigger, Dict[str, Any], None]) – (experimental) execution-trigger property. Specify an array of string values to match this event if the actual value of execution-trigger 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

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

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

from aws_cdk import AWSEventMetadataProps
# 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_codepipeline import events as codepipeline_events

code_pipeline_pipeline_execution_state_change_props = codepipeline_events.CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    execution_id=["executionId"],
    execution_trigger=codepipeline_events.CodePipelinePipelineExecutionStateChange.ExecutionTrigger(
        trigger_detail=["triggerDetail"],
        trigger_type=["triggerType"]
    ),
    pipeline=["pipeline"],
    state=["state"],
    version=["version"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

execution_id

(experimental) execution-id property.

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

execution_trigger

(experimental) execution-trigger property.

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

pipeline

(experimental) pipeline property.

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

(experimental) state property.

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

version

(experimental) version property.

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

ExecutionTrigger

class CodePipelinePipelineExecutionStateChange.ExecutionTrigger(*, trigger_detail=None, trigger_type=None)

Bases: object

(experimental) Type definition for execution-trigger.

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

  • trigger_type (Optional[Sequence[str]]) – (experimental) trigger-type property. Specify an array of string values to match this event if the actual value of trigger-type 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_codepipeline import events as codepipeline_events

execution_trigger = codepipeline_events.CodePipelinePipelineExecutionStateChange.ExecutionTrigger(
    trigger_detail=["triggerDetail"],
    trigger_type=["triggerType"]
)

Attributes

trigger_detail

(experimental) trigger-detail property.

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

trigger_type

(experimental) trigger-type property.

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