Please use the shiny responsively
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

serverless.yml 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Welcome to Serverless!
  2. #
  3. # This file is the main config file for your service.
  4. # It's very minimal at this point and uses default values.
  5. # You can always add more config options for more control.
  6. # We've included some commented out config examples here.
  7. # Just uncomment any of them to get that config option.
  8. #
  9. # For full config options, check the docs:
  10. # v1.docs.serverless.com
  11. #
  12. # Happy Coding!
  13. service: ses-forwarder
  14. provider:
  15. name: aws
  16. runtime: nodejs4.3
  17. # you can overwrite defaults here
  18. defaults:
  19. region: us-west-2
  20. # stage: dev
  21. # you can add packaging information here
  22. #package:
  23. # include:
  24. # - include-me.js
  25. # exclude:
  26. # - exclude-me.js
  27. # artifact: my-service-code.zip
  28. functions:
  29. sesForwarder:
  30. handler: handler.sesForwarder
  31. memorySize: 128 # optional, default is 1024
  32. timeout: 10 # optional, default is 6
  33. # events:
  34. # - s3: habd.as-ses-email # ${bucket}
  35. # - schedule: rate(10 minutes)
  36. # - sns: habd_as-ses
  37. # you can add CloudFormation resource templates here
  38. #resources:
  39. # Resources:
  40. # NewResource:
  41. # Type: AWS::S3::Bucket
  42. # Properties:
  43. # BucketName: my-new-bucket
  44. # Outputs:
  45. # NewOutput:
  46. # Description: "Description for the output"
  47. # Value: "Some output value"