Skip to content

Commit

Permalink
chore(logs): fix SubscriptionFilter README example (aws#4561)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Gaussen authored and mergify[bot] committed Oct 29, 2019
1 parent de0eb47 commit 0b3c3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const logGroup = new LogGroup(this, 'LogGroup', { ... });

new SubscriptionFilter(this, 'Subscription', {
logGroup,
destination: fn,
destination: new LogsDestinations.LambdaDestination(fn),
filterPattern: FilterPattern.allTerms("ERROR", "MainThread")
});
```
Expand Down

0 comments on commit 0b3c3d2

Please sign in to comment.