Activating and deactivating triggers - Amazon Glue
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Activating and deactivating triggers

You can activate or deactivate a trigger using the Amazon Glue console, the Amazon Command Line Interface (Amazon CLI), or the Amazon Glue API.

Note

Currently, the Amazon Glue console supports only jobs, not crawlers, when working with triggers. You can use the Amazon CLI or Amazon Glue API to configure triggers with both jobs and crawlers.

To activate or deactivate a trigger (console)

  1. Sign in to the Amazon Web Services Management Console and open the Amazon Glue console at https://console.amazonaws.cn/glue/.

  2. In the navigation pane, under ETL, choose Triggers.

  3. Select the check box next to the desired trigger, and on the Action menu choose Enable trigger to activate the trigger or Disable trigger to deactivate the trigger.

To activate or deactivate a trigger (Amazon CLI)

  • Enter one of the following commands.

    aws glue start-trigger --name MyTrigger aws glue stop-trigger --name MyTrigger

    Starting a trigger activates it, and stopping a trigger deactivates it. When you activate an on-demand trigger, it fires immediately.

For more information, see Amazon Glue triggers.