capabilities.work

EventBridge Pipes Drain and Delete Pipe

A 3-step recipe with Amazon EventBridge Pipes. We can help you get access.

Recipe · 3 steps

EventBridge Pipes Drain and Delete Pipe

Stop a pipe, wait until it is STOPPED, then delete it.

  1. Request that the pipe transition to the STOPPED state before deletion.
  2. Read the pipe state. While it is not yet STOPPED, loop and poll again; once it is STOPPED proceed to deletion.
  3. Delete the now-stopped pipe, removing it from the account.
What you'll need to have ready
  • name: The name of the pipe to drain and delete (1-64 chars, ^[\.\-_A-Za-z0-9]+$).
For your developer

Arazzo workflow amazon-eventbridge-pipes:drain-and-delete-pipe, 3 operations: StopPipe → DescribePipe → DeletePipe. Specs on APIs.io.