2.142.1-alpha.0 • Published 1 month ago

@aws-cdk/aws-pipes-sources-alpha v2.142.1-alpha.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month ago

Amazon EventBridge Pipes Sources Construct Library


cdk-constructs: Experimental

The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


EventBridge Pipes Sources let you create a source for a EventBridge Pipe.

For more details see the service documentation:

Documentation

Pipe sources

Pipe sources are the starting point of a EventBridge Pipe. They are the source of the events that are sent to the pipe.

Amazon SQS

A SQS message queue can be used as a source for a pipe. The queue will be polled for new messages and the messages will be sent to the pipe.

declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;

const pipeSource = new sources.SqsSource(sourceQueue);

const pipe = new pipes.Pipe(this, 'Pipe', {
  source: pipeSource,
  target: new SomeTarget(targetQueue)
});

The polling configuration can be customized:

declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;

const pipeSource = new sources.SqsSource(sourceQueue, {
  batchSize: 10,
  maximumBatchingWindow: cdk.Duration.seconds(10)
});

const pipe = new pipes.Pipe(this, 'Pipe', {
  source: pipeSource,
  target: new SomeTarget(targetQueue)
});
2.142.1-alpha.0

1 month ago

2.142.0-alpha.0

1 month ago

2.141.0-alpha.0

1 month ago

2.140.0-alpha.0

2 months ago

2.139.1-alpha.0

2 months ago

2.139.0-alpha.0

2 months ago

2.138.0-alpha.0

2 months ago

2.137.0-alpha.0

2 months ago

2.136.1-alpha.0

2 months ago

2.136.0-alpha.0

2 months ago

2.135.0-alpha.0

3 months ago

2.134.0-alpha.0

3 months ago

2.133.0-alpha.0

3 months ago

2.132.1-alpha.0

3 months ago

2.132.0-alpha.0

3 months ago

2.131.0-alpha.0

4 months ago

2.130.0-alpha.0

4 months ago

2.129.0-alpha.0

4 months ago

2.128.0-alpha.0

4 months ago

2.127.0-alpha.0

4 months ago