Trigger Actions Externally

.

The resource scheduling feature allows you to trigger the park and unpark actions from external applications using the URL for the workflows
We will demonstrate this using cURL in the Terminal, to park EC2 Instances

.

  1. Open options for the Group that you want to affect. Select copy URL to view the links.

.

  1. Copy the link for the stop action

.

  1. Open your CLI and enter curl -X POST <your_url>
    1. Eg. curl -X POST https://1v1eeuk7p0.execute-api.us-east-1.amazonaws.com/production/webhooks/ad267ed0758b6b065823b250a0b13313a8a9b9017

.

  1. The Instances will now be stopped

Did You Find This Article Helpful?

Smart Scheduling

Link Schedules

Powered by HelpDocs