Skip to content

EventBridge Pipes

CloudMock emulates Amazon EventBridge Pipes, supporting pipe creation, lifecycle management, and tagging.

OperationStatusNotes
CreatePipeSupportedCreates a pipe
DescribePipeSupportedReturns pipe details
ListPipesSupportedLists all pipes
UpdatePipeSupportedUpdates pipe configuration
DeletePipeSupportedDeletes a pipe
StartPipeSupportedStarts a stopped pipe
StopPipeSupportedStops a running pipe
TagResourceSupportedAdds tags to a pipe
UntagResourceSupportedRemoves tags from a pipe
ListTagsForResourceSupportedLists tags for a pipe
import { PipesClient, CreatePipeCommand } from '@aws-sdk/client-pipes';
const client = new PipesClient({
endpoint: 'http://localhost:4566',
region: 'us-east-1',
credentials: { accessKeyId: 'test', secretAccessKey: 'test' },
});
await client.send(new CreatePipeCommand({
Name: 'my-pipe',
Source: 'arn:aws:sqs:us-east-1:000000000000:my-queue',
Target: 'arn:aws:lambda:us-east-1:000000000000:function:my-function',
RoleArn: 'arn:aws:iam::000000000000:role/pipe-role',
}));
import boto3
client = boto3.client('pipes',
endpoint_url='http://localhost:4566',
region_name='us-east-1',
aws_access_key_id='test',
aws_secret_access_key='test')
client.create_pipe(
Name='my-pipe',
Source='arn:aws:sqs:us-east-1:000000000000:my-queue',
Target='arn:aws:lambda:us-east-1:000000000000:function:my-function',
RoleArn='arn:aws:iam::000000000000:role/pipe-role')
cloudmock.yml
services:
pipes:
enabled: true
  • Pipes do not actually poll sources or invoke targets
  • Enrichment and filtering are stored but not executed
  • Pipe status transitions are simulated