service: ses-notification provider: name: aws runtime: nodejs4.3 region: ap-southeast-1 iamRoleStatements: - Effect: "Allow" Action: - "ses:SendRawEmail" Resource: "*" functions: hello: handler: handler.hello events: - http: path: contact method: post