Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 545 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 545 Bytes

apigateway-demo

Demo of creating a basic apigateway using sam

Download this typescript base package:

npm install

npm run build

sam package --s3-bucket $SAM_BUCKET \
            --s3-prefix PACKAGED/v1/first-deployment \
            --output-template-file template.packaged.yaml

sam deploy --s3-bucket $SAM_BUCKET \
          --s3-prefix PACKAGED/v1/first-deployment \
          --template-file .dist/template.packaged.yaml \
          --stack-name apigateway-demo \
          --capabilities CAPABILITY_AUTO_EXPAND CAPABILITY_IAM