@aws-cdk/aws-pipes-enrichments-alpha
TypeScript icon, indicating that this package has built-in type declarations

2.143.0-alpha.0 • Public • Published

Amazon EventBridge Pipes Enrichments 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 Enrichments let you create enrichments for an EventBridge Pipe.

For more details see the service documentation:

Documentation

Pipe sources

Pipe enrichments are invoked prior to sending the events to a target of a EventBridge Pipe.

Lambda function

A Lambda function can be used to enrich events of a pipe.

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

declare const enrichmentFunction: lambda.Function;

const enrichment = new enrichments.LambdaEnrichment(enrichmentFunction);

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

Package Sidebar

Install

npm i @aws-cdk/aws-pipes-enrichments-alpha

Weekly Downloads

172

Version

2.143.0-alpha.0

License

Apache-2.0

Unpacked Size

147 kB

Total Files

16

Last publish

Collaborators

  • amzn-oss
  • aws-cdk-team