Skip to content

Commit

Permalink
Update eventbridge docs to add runtime example
Browse files Browse the repository at this point in the history
  • Loading branch information
taiiiraaa authored May 3, 2024
1 parent 597830c commit a0c53cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/use-cases/eventbridge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ Then, create a Lambda function that listens to EventBridge events with the handl
```yml filename="serverless.yml"
functions:
# ...
events:
resizeImage:
handler: App\MyHandler
runtime: php-83
events:
- eventBridge:
pattern:
Expand All @@ -55,6 +56,7 @@ Then, create a Lambda function that listens to EventBridge events with the handl
# ...
resizeImage:
handler: App\MyHandler
runtime: php-83
events:
- eventBridge:
pattern:
Expand All @@ -70,6 +72,7 @@ Then, create a Lambda function that listens to EventBridge events with the handl
# ...
resizeImage:
handler: handler.php
runtime: php-83
events:
- eventBridge:
pattern:
Expand Down

0 comments on commit a0c53cf

Please sign in to comment.