Amazon EventBridge Pipes · Arazzo Workflow
EventBridge Pipes Drain and Delete Pipe
Version 1.0.0
Safely decommission a pipe by stopping it, polling until it is STOPPED, then deleting it.
View Spec
View on GitHub
Amazon Web ServicesEvent-DrivenIntegrationMessagingServerlessArazzoWorkflows
Provider
Workflows
drain-and-delete-pipe
Stop a pipe, wait until it is STOPPED, then delete it.
Requests that a pipe stop, polls DescribePipe until it reaches the STOPPED state, then deletes the pipe so it is fully removed without interrupting in-flight events.
1
stopPipe
StopPipe
Request that the pipe transition to the STOPPED state before deletion.
2
awaitStopped
DescribePipe
Read the pipe state. While it is not yet STOPPED, loop and poll again; once it is STOPPED proceed to deletion.
3
deletePipe
DeletePipe
Delete the now-stopped pipe, removing it from the account.