RunGlueJobTask

class aws_cdk.aws_stepfunctions_tasks.RunGlueJobTask(glue_job_name, *, arguments=None, integration_pattern=None, notify_delay_after=None, security_configuration=None, timeout=None)

Bases: object

Invoke a Glue job as a Task.

OUTPUT: the output of this task is a JobRun structure, for details consult https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-runs.html#aws-glue-api-jobs-runs-JobRun

deprecated :deprecated: use GlueStartJobRun

see :see: https://docs.aws.amazon.com/step-functions/latest/dg/connect-glue.html stability :stability: deprecated

__init__(glue_job_name, *, arguments=None, integration_pattern=None, notify_delay_after=None, security_configuration=None, timeout=None)
Parameters
  • glue_job_name (str) –

  • arguments (Optional[Mapping[str, str]]) – The job arguments specifically for this run. For this job run, they replace the default arguments set in the job definition itself. Default: - Default arguments set in the job definition

  • integration_pattern (Optional[ServiceIntegrationPattern]) – The service integration pattern indicates different ways to start the Glue job. The valid value for Glue is either FIRE_AND_FORGET or SYNC. Default: FIRE_AND_FORGET

  • notify_delay_after (Optional[Duration]) – After a job run starts, the number of minutes to wait before sending a job run delay notification. Must be at least 1 minute. Default: - Default delay set in the job definition

  • security_configuration (Optional[str]) – The name of the SecurityConfiguration structure to be used with this job run. This must match the Glue API single-line string pattern. Default: - Default configuration set in the job definition

  • timeout (Optional[Duration]) – The job run timeout. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. Must be at least 1 minute. Default: - Default timeout set in the job definition

stability :stability: deprecated

Return type

None

Methods

bind(task)

Called when the task object is used in a workflow.

Parameters

task (Task) –

stability :stability: deprecated

Return type

StepFunctionsTaskConfig