Skip to content

Commit

Permalink
Merge pull request #5 from distinction-dev/docs-refactor
Browse files Browse the repository at this point in the history
Docs refactor
  • Loading branch information
anjalimodi10 authored Aug 1, 2023
2 parents 6cefac9 + bca0298 commit e865094
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
7 changes: 5 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,20 @@ functions:
handler: functions/pipeEnricher.handler

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

Expand Down
27 changes: 27 additions & 0 deletions docs/parameters/EnabledParameter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[@distinction-dev/serverless-pipes](../README.md) / [Exports](parameters.md) / EnabledParameter

# Usage
```yaml

# serverless.yml

pipes:
pipeName:
enabled: true
```
### enabled
It defines the `DesiredState` of EventBridge Pipes. If set to true sets the `DesiredState` property to `RUNNING` else sets to `STOPPED`.


#### Defined in

[schema.ts:272](https://github.com/distinction-dev/serverless-pipes/blob/6cefac9dfc5db878e76fb245dec34bbf0da88b5d/src/schema.ts#L272)




---
2 changes: 1 addition & 1 deletion test-service/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
service: test-service
service: serverless-pipes-plugin
frameworkVersion: '^3.28.1'
useDotenv: true

Expand Down

0 comments on commit e865094

Please sign in to comment.