Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.