External Triggers

The resource scheduling feature allows you to trigger the park and unpark actions from external applications using the URL for the workflows

Workflow management is made easier and you can maintain the security of your TotalCloud account.

Available Endpoint URLs

On your ‘Schedules’ dashboard, you can find the ‘Share’ option at the end of each workflow. Click on the button and you can see all 4 available endpoint URLs.

Schedule Sharing- Share this link with your Dev team, to carry out any Schedule actions without logging into TotalCloud.

Trigger Parking Action- Share this link with your Dev team, to carry out Parking of schedules without logging into TotalCloud.

Trigger Un-parking Action- Share this link with your Dev team, to carry out Un-Parking of schedules without logging into TotalCloud.

Trigger Skip Actions For X Hours- Share this link with your Dev team, to skip scheduled actions of schedules without logging into TotalCloud.

How to Trigger Schedules Externally

This example will be achieved 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.

2. Copy the link for the stop action

3. Open your CLI and enter curl -X POST <your_url>

  • Eg. curl -X POST https://1v1eeuk7p0.execute-api.us-east-1.amazonaws.com/production/webhooks/ad267ed0758b6b065823b250a0b13313a8a9b9017

4. The Instances will now be stopped