Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AWSTemplateFormatVersion: '2010-09-09'
- Transform: 'AWS::Serverless-2016-10-31'
- Description: 'simple lambda example'
- ConsumerLambda:
- Type: AWS::Serverless::Function
- Properties:
- CodeUri: ./consumer
- Handler: index.handler
- MemorySize: 128
- Role: !Sub ${ConsumerLambdaRole.Arn}
- Runtime: nodejs8.10
- Timeout: 60
- Events:
- Timer:
- Type: Schedule
- Properties:
- Schedule: rate(1 minute)
Add Comment
Please, Sign In to add comment