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.
To activate or deactivate a trigger (console)
-
Sign in to the Amazon Web Services Management Console and open the Amazon Glue console at https://console.amazonaws.cn/glue/
. -
In the navigation pane, under ETL, choose Triggers.
-
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.