From a0c53cfceb7a2084f8e7b3a6e1f2a5588bf38bee Mon Sep 17 00:00:00 2001 From: taiiiraaa Date: Fri, 3 May 2024 17:16:34 +0100 Subject: [PATCH] Update eventbridge docs to add runtime example --- docs/use-cases/eventbridge.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/use-cases/eventbridge.mdx b/docs/use-cases/eventbridge.mdx index fa6e67f2f..475c9ab9f 100644 --- a/docs/use-cases/eventbridge.mdx +++ b/docs/use-cases/eventbridge.mdx @@ -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: @@ -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: @@ -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: