You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::Action

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Action as input to an Aws::Client method, you can use a vanilla Hash:

{
  job_name: "NameString",
  arguments: {
    "GenericString" => "GenericString",
  },
  timeout: 1,
  security_configuration: "NameString",
  notification_property: {
    notify_delay_after: 1,
  },
  crawler_name: "NameString",
}

Defines an action to be initiated by a trigger.

Instance Attribute Summary collapse

Instance Attribute Details

#argumentsHash<String,String>

The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.

You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.

For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.

Returns:

  • (Hash<String,String>)

    The job arguments used when this trigger fires.

#crawler_nameString

The name of the crawler to be used with this action.

Returns:

  • (String)

    The name of the crawler to be used with this action.

#job_nameString

The name of a job to be executed.

Returns:

  • (String)

    The name of a job to be executed.

#notification_propertyTypes::NotificationProperty

Specifies configuration properties of a job run notification.

Returns:

#security_configurationString

The name of the SecurityConfiguration structure to be used with this action.

Returns:

  • (String)

    The name of the SecurityConfiguration structure to be used with this action.

#timeoutInteger

The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.

Returns:

  • (Integer)

    The JobRun timeout in minutes.