EMRInstanceFleetStateChange
- class aws_cdk.mixins_preview.aws_emr.events.EMRInstanceFleetStateChange
Bases:
object(experimental) EventBridge event pattern for aws.emr@EMRInstanceFleetStateChange.
- 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_fleet_state_change = emr_events.EMRInstanceFleetStateChange()
- Stability:
experimental
Static Methods
- classmethod emr_instance_fleet_state_change_pattern(*, cluster_id=None, event_metadata=None, instance_fleet_id=None, instance_fleet_type=None, message=None, provisioned_on_demand_capacity=None, provisioned_spot_capacity=None, severity=None, state=None, target_on_demand_capacity=None, target_spot_capacity=None)
(experimental) EventBridge event pattern for EMR Instance Fleet 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -instance_fleet_id (
Optional[Sequence[str]]) – (experimental) instanceFleetId property. Specify an array of string values to match this event if the actual value of instanceFleetId 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 fieldinstance_fleet_type (
Optional[Sequence[str]]) – (experimental) instanceFleetType property. Specify an array of string values to match this event if the actual value of instanceFleetType 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 fieldmessage (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprovisioned_on_demand_capacity (
Optional[Sequence[str]]) – (experimental) provisionedOnDemandCapacity property. Specify an array of string values to match this event if the actual value of provisionedOnDemandCapacity 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 fieldprovisioned_spot_capacity (
Optional[Sequence[str]]) – (experimental) provisionedSpotCapacity property. Specify an array of string values to match this event if the actual value of provisionedSpotCapacity 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 fieldseverity (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstate (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtarget_on_demand_capacity (
Optional[Sequence[str]]) – (experimental) targetOnDemandCapacity property. Specify an array of string values to match this event if the actual value of targetOnDemandCapacity 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 fieldtarget_spot_capacity (
Optional[Sequence[str]]) – (experimental) targetSpotCapacity property. Specify an array of string values to match this event if the actual value of targetSpotCapacity 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:
EMRInstanceFleetStateChangeProps
- class EMRInstanceFleetStateChange.EMRInstanceFleetStateChangeProps(*, cluster_id=None, event_metadata=None, instance_fleet_id=None, instance_fleet_type=None, message=None, provisioned_on_demand_capacity=None, provisioned_spot_capacity=None, severity=None, state=None, target_on_demand_capacity=None, target_spot_capacity=None)
Bases:
object(experimental) Props type for aws.emr@EMRInstanceFleetStateChange 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -instance_fleet_id (
Optional[Sequence[str]]) – (experimental) instanceFleetId property. Specify an array of string values to match this event if the actual value of instanceFleetId 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 fieldinstance_fleet_type (
Optional[Sequence[str]]) – (experimental) instanceFleetType property. Specify an array of string values to match this event if the actual value of instanceFleetType 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 fieldmessage (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprovisioned_on_demand_capacity (
Optional[Sequence[str]]) – (experimental) provisionedOnDemandCapacity property. Specify an array of string values to match this event if the actual value of provisionedOnDemandCapacity 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 fieldprovisioned_spot_capacity (
Optional[Sequence[str]]) – (experimental) provisionedSpotCapacity property. Specify an array of string values to match this event if the actual value of provisionedSpotCapacity 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 fieldseverity (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstate (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtarget_on_demand_capacity (
Optional[Sequence[str]]) – (experimental) targetOnDemandCapacity property. Specify an array of string values to match this event if the actual value of targetOnDemandCapacity 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 fieldtarget_spot_capacity (
Optional[Sequence[str]]) – (experimental) targetSpotCapacity property. Specify an array of string values to match this event if the actual value of targetSpotCapacity 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
- 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_fleet_state_change_props = emr_events.EMRInstanceFleetStateChange.EMRInstanceFleetStateChangeProps( cluster_id=["clusterId"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), instance_fleet_id=["instanceFleetId"], instance_fleet_type=["instanceFleetType"], message=["message"], provisioned_on_demand_capacity=["provisionedOnDemandCapacity"], provisioned_spot_capacity=["provisionedSpotCapacity"], severity=["severity"], state=["state"], target_on_demand_capacity=["targetOnDemandCapacity"], target_spot_capacity=["targetSpotCapacity"] )
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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- instance_fleet_id
(experimental) instanceFleetId property.
Specify an array of string values to match this event if the actual value of instanceFleetId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- instance_fleet_type
(experimental) instanceFleetType property.
Specify an array of string values to match this event if the actual value of instanceFleetType is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- provisioned_on_demand_capacity
(experimental) provisionedOnDemandCapacity property.
Specify an array of string values to match this event if the actual value of provisionedOnDemandCapacity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- provisioned_spot_capacity
(experimental) provisionedSpotCapacity property.
Specify an array of string values to match this event if the actual value of provisionedSpotCapacity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor 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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- target_on_demand_capacity
(experimental) targetOnDemandCapacity property.
Specify an array of string values to match this event if the actual value of targetOnDemandCapacity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- target_spot_capacity
(experimental) targetSpotCapacity property.
Specify an array of string values to match this event if the actual value of targetSpotCapacity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental