EMRInstanceGroupStateChange

class aws_cdk.mixins_preview.aws_emr.events.EMRInstanceGroupStateChange

Bases: object

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

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_mRInstance_group_state_change = emr_events.EMRInstanceGroupStateChange()
Stability:

experimental

Static Methods

classmethod emr_instance_group_state_change_pattern(*, bid_price=None, bid_price_as_percentage_of_on_demand_price=None, cluster_id=None, event_metadata=None, instance_group_id=None, instance_group_type=None, instance_type=None, market=None, message=None, requested_instance_count=None, running_instance_count=None, severity=None, state=None)

(experimental) EventBridge event pattern for EMR Instance Group State Change.

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

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

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

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

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

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

  • 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

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

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

Stability:

experimental

Return type:

EventPattern

EMRInstanceGroupStateChangeProps

class EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps(*, bid_price=None, bid_price_as_percentage_of_on_demand_price=None, cluster_id=None, event_metadata=None, instance_group_id=None, instance_group_type=None, instance_type=None, market=None, message=None, requested_instance_count=None, running_instance_count=None, severity=None, state=None)

Bases: object

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

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

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

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

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

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

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

  • 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

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

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

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_mRInstance_group_state_change_props = emr_events.EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps(
    bid_price=["bidPrice"],
    bid_price_as_percentage_of_on_demand_price=["bidPriceAsPercentageOfOnDemandPrice"],
    cluster_id=["clusterId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    instance_group_id=["instanceGroupId"],
    instance_group_type=["instanceGroupType"],
    instance_type=["instanceType"],
    market=["market"],
    message=["message"],
    requested_instance_count=["requestedInstanceCount"],
    running_instance_count=["runningInstanceCount"],
    severity=["severity"],
    state=["state"]
)

Attributes

bid_price

(experimental) bidPrice property.

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

bid_price_as_percentage_of_on_demand_price

(experimental) bidPriceAsPercentageOfOnDemandPrice property.

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

instance_group_id

(experimental) instanceGroupId property.

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

instance_group_type

(experimental) instanceGroupType property.

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

instance_type

(experimental) instanceType property.

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

market

(experimental) market property.

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

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

requested_instance_count

(experimental) requestedInstanceCount property.

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

running_instance_count

(experimental) runningInstanceCount property.

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