You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,15 +181,15 @@ If more than one route matches, only the **first** is used!
181
181
182
182
183
183
Lambdas can be triggered by S3 events. The router now supports these events.
184
-
With the router it is very easy and flexible to connect a lambda to different s3 sources (different buckets). The following possibilities are available:
184
+
With the router it is very easy and flexible to connect a lambda to different s3 sources (different buckets). The following configurations are available:
185
185
186
-
- bucketName: By specifying a fixed _bucketName_ all s3 events with this bucket name are forwarded to a certain action. Instead of a fixed bucket a _RegExp_ is also possible.
186
+
- bucketName: By specifying a fixed _bucketName_ all s3 records with this bucket name are forwarded to a certain action. Instead of a fixed bucket a _RegExp_ is also possible.
187
187
- eventName: By configuring the [S3 event name](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#supported-notification-event-types) the routing can be further restricted. A _RegExp_ is also possible here.
188
188
- objectKeyPrefix: fixed string as an prefix of an object key (but not an RegExp). Is useful if you want to organize your bucket in subfolder.
189
189
190
-
A combination of bucketName, eventName and objectKeyPrefix is possible. If no _bucketName_, _eventName_ and _objectKeyPrefix_ is configured, all s3 events are forwarded to the action.
190
+
A combination of bucketName, eventName and objectKeyPrefix is possible. If no _bucketName_, _eventName_ and _objectKeyPrefix_ is configured, all records of s3 events are forwarded to the action.
191
191
192
-
The action method will be called with the [S3Event Structure](https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html)
192
+
The action method will be called with the records of the [S3Event Structure](https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html)
193
193
194
194
The following examples demonstrates the most use cases:
Per s3 event there can be several entries per event. Than the action methods are called one after the other. The result is an array with objects insides.
252
+
Per s3 event there can be several records per event. The action methods are called one after the other record. The result of the action method is an array with objects insides.
0 commit comments