EMRStepStatusChange

class aws_cdk.mixins_preview.aws_emr.events.EMRStepStatusChange

Bases: object

(experimental) EventBridge event pattern for aws.emr@EMRStepStatusChange.

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_emr import events as emr_events

e_mRStep_status_change = emr_events.EMRStepStatusChange()
Stability:

experimental

Static Methods

classmethod emr_step_status_change_pattern(*, action_on_failure=None, cluster_id=None, event_metadata=None, message=None, name=None, severity=None, state=None, step_id=None)

(experimental) EventBridge event pattern for EMR Step Status Change.

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

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

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

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

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

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

EMRStepStatusChangeProps

class EMRStepStatusChange.EMRStepStatusChangeProps(*, action_on_failure=None, cluster_id=None, event_metadata=None, message=None, name=None, severity=None, state=None, step_id=None)

Bases: object

(experimental) Props type for aws.emr@EMRStepStatusChange event.

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

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

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

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

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

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

e_mRStep_status_change_props = emr_events.EMRStepStatusChange.EMRStepStatusChangeProps(
    action_on_failure=["actionOnFailure"],
    cluster_id=["clusterId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    message=["message"],
    name=["name"],
    severity=["severity"],
    state=["state"],
    step_id=["stepId"]
)

Attributes

action_on_failure

(experimental) actionOnFailure property.

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

cluster_id

(experimental) clusterId property.

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

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

message

(experimental) message property.

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

name

(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

Stability:

experimental

severity

(experimental) severity property.

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

step_id

(experimental) stepId property.

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