EMRAutoScalingPolicyStateChange
- class aws_cdk.mixins_preview.aws_emr.events.EMRAutoScalingPolicyStateChange
Bases:
object(experimental) EventBridge event pattern for aws.emr@EMRAutoScalingPolicyStateChange.
- 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_mRAuto_scaling_policy_state_change = emr_events.EMRAutoScalingPolicyStateChange()
- Stability:
experimental
Static Methods
- classmethod emr_auto_scaling_policy_state_change_pattern(*, cluster_id=None, event_metadata=None, message=None, resource_id=None, scaling_resource_type=None, severity=None, state=None)
(experimental) EventBridge event pattern for EMR Auto Scaling Policy 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: - -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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresource_id (
Optional[Sequence[str]]) – (experimental) resourceId property. Specify an array of string values to match this event if the actual value of resourceId 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 fieldscaling_resource_type (
Optional[Sequence[str]]) – (experimental) scalingResourceType property. Specify an array of string values to match this event if the actual value of scalingResourceType 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 field
- Stability:
experimental
- Return type:
EMRAutoScalingPolicyStateChangeProps
- class EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps(*, cluster_id=None, event_metadata=None, message=None, resource_id=None, scaling_resource_type=None, severity=None, state=None)
Bases:
object(experimental) Props type for aws.emr@EMRAutoScalingPolicyStateChange 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: - -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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresource_id (
Optional[Sequence[str]]) – (experimental) resourceId property. Specify an array of string values to match this event if the actual value of resourceId 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 fieldscaling_resource_type (
Optional[Sequence[str]]) – (experimental) scalingResourceType property. Specify an array of string values to match this event if the actual value of scalingResourceType 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 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_mRAuto_scaling_policy_state_change_props = emr_events.EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps( cluster_id=["clusterId"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), message=["message"], resource_id=["resourceId"], scaling_resource_type=["scalingResourceType"], severity=["severity"], state=["state"] )
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
- 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
- resource_id
(experimental) resourceId property.
Specify an array of string values to match this event if the actual value of resourceId 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
- scaling_resource_type
(experimental) scalingResourceType property.
Specify an array of string values to match this event if the actual value of scalingResourceType 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