Using EventBridge rules as events in AWS SAM
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