UNPKG

serverless-sam

Version:

Serverless framework plugin to export AWS SAM templates for a service

53 lines (46 loc) 1.25 kB
# Welcome to Serverless! # # This file is the main config file for your service. # It's very minimal at this point and uses default values. # You can always add more config options for more control. # We've included some commented out config examples here. # Just uncomment any of them to get that config option. # # For full config options, check the docs: # docs.serverless.com # # Happy Coding! service: aws-node-stripe-integration # You can pin your service to only deploy with a specific Serverless version # Check out our docs for more details # frameworkVersion: "=X.X.X" provider: name: aws runtime: nodejs6.10 stage: test region: us-east-1 # you can add statements to the Lambda function's IAM Role here # iamRoleStatements: # - Effect: "Allow" # Action: # - "lambda:InvokeAsync" # - "lambda:InvokeFunction" # Resource: # - "*" # you can define service wide environment variables here # environment: # variable1: value1 # you can add packaging information here package: include: - config/** - node_modules/** exclude: - package.json functions: incoming: handler: handler.incoming events: - http: path: stripe/incoming method: post