Skip to content

Instantly share code, notes, and snippets.

@AHaydar
Last active January 7, 2021 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AHaydar/dbf0581653507bad219786537153497a to your computer and use it in GitHub Desktop.
Save AHaydar/dbf0581653507bad219786537153497a to your computer and use it in GitHub Desktop.
CompaniesFunction:
Type: AWS::Serverless::Function
Properties:
FunctionName: companies-data-demo
CodeUri: src/
Handler: app.lambdaHandler
Runtime: nodejs12.x
Role: !GetAtt CompaniesFunctionRole.Arn
Events:
Companies:
Type: Api
Properties:
Path: /companies
Method: GET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment