Skip to content

Commit

Permalink
docs(AWS MSK): Improve examples consistency (#11660)
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyance-jain committed Jan 5, 2023
1 parent e769570 commit 2f4de84
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/providers/aws/events/msk.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,15 @@ Note: Serverless only sets this property if you explicitly add it to the `msk` c

```yml
functions:
handleInsertedDynamoDBItem:
handler: handler.preprocess
compute:
handler: handler.compute
events:
- stream:
arn: arn:aws:dynamodb:region:XXXXXX:table/foo/stream/1970-01-01T00:00:00.000
- msk:
arn: arn:aws:kafka:region:XXXXXX:cluster/MyCluster/xxxx-xxxxx-xxxx
topic: mytopic
filterPatterns:
- value:
a: [1, 2]
a: [1]
```

## IAM Permissions
Expand Down

0 comments on commit 2f4de84

Please sign in to comment.