serverless-pipes
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Serverless Pipes Plugin

Serverless Framework plugin called as "pipes", used to create EventBridge Pipes by providing the required event sources, targets and other parameters as needed.

Install

npm install serverless-pipes

or

yarn add serverless-pipes

Allowed Services

At the initial version of the plugin, the below mentioned AWS services are supported for the source, target and enrichment in the EventBridge Pipes. We will expand to other services in the future.

Source

Target

Enrichment

Usage

# serverless.yml

plugins:
  - serverless-pipes

functions:
    pipeEnricher:
        handler: functions/pipeEnricher.handler

pipes:
 testPipe: #pipeName
    enabled: true
    source:
      sqs:
        arn:
          Fn::GetAtt: [SourceSQSQueue, Arn]
    target:
      sns:
        arn:
          Fn::GetAtt: [TargetSNSTopic, TopicArn]
    enrichment: 
      name: pipeEnricher
    filter:
      - Pattern: "{ \"body\": { \"message\": [ \"hello\" ], \"city\": [ \"hey\" ] }}"
    iamRolePipes:
      type: "individual"

For documentation refer Docs

Package Sidebar

Install

npm i serverless-pipes

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

78 kB

Total Files

23

Last publish

Collaborators

  • killdozerx2