Skip to content

Commit

Permalink
docs(lamba-event-sources): Fix code example in README.md (#11241)
Browse files Browse the repository at this point in the history
Fix missing parenthesis in SQS code example


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
msimpsonnz authored Nov 2, 2020
1 parent 0f66833 commit 8c9321b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-lambda-event-sources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const queue = new sqs.Queue(this, 'MyQueue', {
});

lambda.addEventSource(new SqsEventSource(queue, {
batchSize: 10 // default
});
batchSize: 10, // default
}));
```

### S3
Expand Down

0 comments on commit 8c9321b

Please sign in to comment.