capabilities.work

EventBridge Pipes Create Pipe and Await Running

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

Recipe · 2 steps

EventBridge Pipes Create Pipe and Await Running

Create a pipe and poll until it reaches the RUNNING state.

  1. Create the pipe wiring the source to the target through the supplied role and request that it move to the RUNNING desired state.
  2. Read the current state of the pipe. If it is still transitioning toward RUNNING, loop back and poll again; once it is RUNNING the workflow ends.
What you'll need to have ready
  • name: The name of the pipe to create (1-64 chars, ^[\.\-_A-Za-z0-9]+$).
  • roleArn: The ARN of the IAM role that allows the pipe to send data to the target.
  • source: The ARN of the source resource for the pipe.
  • target: The ARN of the target resource for the pipe.
  • description: An optional description of the pipe.
For your developer

Arazzo workflow amazon-eventbridge-pipes:create-pipe-await-running, 2 operations: CreatePipe → DescribePipe. Specs on APIs.io.