GlueJobRunStatus

class aws_cdk.mixins_preview.aws_glue.events.GlueJobRunStatus

Bases: object

(experimental) EventBridge event pattern for aws.glue@GlueJobRunStatus.

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_run_status = glue_events.GlueJobRunStatus()
Stability:

experimental

Static Methods

classmethod glue_job_run_status_pattern(*, event_metadata=None, job_name=None, job_run_id=None, message=None, notification_condition=None, severity=None, started_on=None, state=None)

(experimental) EventBridge event pattern for Glue Job Run Status.

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 the aws_events.Match for more advanced matching options. Default: - Filter with the Job reference

  • job_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 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

  • notification_condition (Union[NotificationCondition, Dict[str, Any], None]) – (experimental) notificationCondition property. Specify an array of string values to match this event if the actual value of notificationCondition 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

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

GlueJobRunStatusProps

class GlueJobRunStatus.GlueJobRunStatusProps(*, event_metadata=None, job_name=None, job_run_id=None, message=None, notification_condition=None, severity=None, started_on=None, state=None)

Bases: object

(experimental) Props type for aws.glue@GlueJobRunStatus 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 the aws_events.Match for more advanced matching options. Default: - Filter with the Job reference

  • job_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 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

  • notification_condition (Union[NotificationCondition, Dict[str, Any], None]) – (experimental) notificationCondition property. Specify an array of string values to match this event if the actual value of notificationCondition 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

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

glue_job_run_status_props = glue_events.GlueJobRunStatus.GlueJobRunStatusProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    job_name=["jobName"],
    job_run_id=["jobRunId"],
    message=["message"],
    notification_condition=glue_events.GlueJobRunStatus.NotificationCondition(
        notify_delay_after=["notifyDelayAfter"]
    ),
    severity=["severity"],
    started_on=["startedOn"],
    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.Match for 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.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

notification_condition

(experimental) notificationCondition property.

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

started_on

(experimental) startedOn property.

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

NotificationCondition

class GlueJobRunStatus.NotificationCondition(*, notify_delay_after=None)

Bases: object

(experimental) Type definition for NotificationCondition.

Parameters:

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

# 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

notification_condition = glue_events.GlueJobRunStatus.NotificationCondition(
    notify_delay_after=["notifyDelayAfter"]
)

Attributes

notify_delay_after

(experimental) NotifyDelayAfter property.

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