UNPKG

serverless-sam

Version:

Serverless framework plugin to export AWS SAM templates for a service

29 lines (24 loc) 489 B
service: text-analysis-via-sns-post-processing frameworkVersion: ">=1.1.0 <2.0.0" provider: name: aws runtime: nodejs4.3 region: us-east-1 stage: dev iamRoleStatements: - Effect: "Allow" Resource: "*" Action: - "sns:*" functions: addNote: handler: addNote.addNote events: - http: path: notes method: post cors: true analyzeNote: handler: analyzeNote.analyzeNote events: - sns: analyzeNote