EMRClusterStateChange

class aws_cdk.mixins_preview.aws_emr.events.EMRClusterStateChange

Bases: object

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

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_mRCluster_state_change = emr_events.EMRClusterStateChange()
Stability:

experimental

Static Methods

classmethod emr_cluster_state_change_pattern(*, cluster_id=None, event_metadata=None, message=None, name=None, severity=None, state=None, state_change_reason=None)

(experimental) EventBridge event pattern for EMR Cluster State Change.

Parameters:
  • 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

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

EMRClusterStateChangeProps

class EMRClusterStateChange.EMRClusterStateChangeProps(*, cluster_id=None, event_metadata=None, message=None, name=None, severity=None, state=None, state_change_reason=None)

Bases: object

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

Parameters:
  • 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

  • state_change_reason (Optional[Sequence[str]]) – (experimental) stateChangeReason property. Specify an array of string values to match this event if the actual value of stateChangeReason 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_mRCluster_state_change_props = emr_events.EMRClusterStateChange.EMRClusterStateChangeProps(
    cluster_id=["clusterId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    message=["message"],
    name=["name"],
    severity=["severity"],
    state=["state"],
    state_change_reason=["stateChangeReason"]
)

Attributes

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

state_change_reason

(experimental) stateChangeReason property.

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