GlueJobStateChange
- class aws_cdk.mixins_preview.aws_glue.events.GlueJobStateChange
Bases:
object(experimental) EventBridge event pattern for aws.glue@GlueJobStateChange.
- 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_glue import events as glue_events glue_job_state_change = glue_events.GlueJobStateChange()
- Stability:
experimental
Static Methods
- classmethod glue_job_state_change_pattern(*, event_metadata=None, job_name=None, job_run_id=None, message=None, severity=None, state=None)
(experimental) EventBridge event pattern for Glue Job State Change.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -job_name (
Optional[Sequence[str]]) – (experimental) jobName property. Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Job referencejob_run_id (
Optional[Sequence[str]]) – (experimental) jobRunId property. Specify an array of string values to match this event if the actual value of jobRunId 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 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:
GlueJobStateChangeProps
- class GlueJobStateChange.GlueJobStateChangeProps(*, event_metadata=None, job_name=None, job_run_id=None, message=None, severity=None, state=None)
Bases:
object(experimental) Props type for aws.glue@GlueJobStateChange event.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -job_name (
Optional[Sequence[str]]) – (experimental) jobName property. Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Job referencejob_run_id (
Optional[Sequence[str]]) – (experimental) jobRunId property. Specify an array of string values to match this event if the actual value of jobRunId 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 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_glue import events as glue_events glue_job_state_change_props = glue_events.GlueJobStateChange.GlueJobStateChangeProps( event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), job_name=["jobName"], job_run_id=["jobRunId"], message=["message"], severity=["severity"], state=["state"] )
Attributes
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- job_name
(experimental) jobName property.
Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Filter with the Job reference
- Stability:
experimental
- job_run_id
(experimental) jobRunId property.
Specify an array of string values to match this event if the actual value of jobRunId 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
- 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