AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::Glue::Trigger Action

Defines an action to be initiated by a trigger.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Arguments" : Json, "CrawlerName" : String, "JobName" : String, "NotificationProperty" : NotificationProperty, "SecurityConfiguration" : String, "Timeout" : Integer }

Properties

Arguments

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, in addition to arguments that AWS Glue itself consumes.

For information about how to specify and consume your own job arguments, see Calling AWS Glue APIs in Python in the AWS Glue 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.

Required: No

Type: Json

Update requires: No interruption

CrawlerName

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

Required: No

Type: String

Update requires: No interruption

JobName

The name of a job to be executed.

Required: No

Type: String

Update requires: No interruption

NotificationProperty

Specifies configuration properties of a job run notification.

Required: No

Type: NotificationProperty

Update requires: No interruption

SecurityConfiguration

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

Required: No

Type: String

Update requires: No interruption

Timeout

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.

Required: No

Type: Integer

Update requires: No interruption

See Also

On this page: