Guest User

Untitled

a guest
Feb 18th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. AWSTemplateFormatVersion: '2010-09-09'
  2. Transform: 'AWS::Serverless-2016-10-31'
  3. Description: 'simple lambda example'
  4. ConsumerLambda:
  5. Type: AWS::Serverless::Function
  6. Properties:
  7. CodeUri: ./consumer
  8. Handler: index.handler
  9. MemorySize: 128
  10. Role: !Sub ${ConsumerLambdaRole.Arn}
  11. Runtime: nodejs8.10
  12. Timeout: 60
  13. Events:
  14. Timer:
  15. Type: Schedule
  16. Properties:
  17. Schedule: rate(1 minute)
Add Comment
Please, Sign In to add comment