Created
September 25, 2019 14:25
-
-
Save singledigit/6aed8b96d6ade7d85bc7da0ec565f8fb to your computer and use it in GitHub Desktop.
Using EventBridge rules as events in AWS SAM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TranslateFunction: | |
Type: AWS::Serverless::Function | |
Properties: | |
CodeUri: translate/ | |
Timeout: 10 | |
Handler: app.lambdaHandler | |
Runtime: nodejs10.x | |
Events: | |
TranslateEvent: | |
Type: CloudWatchEvent | |
Properties: | |
Pattern: | |
source: | |
- "DBStream" | |
detail-type: | |
- "translation" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment