Last active
April 13, 2019 04:19
-
-
Save jugyo/afe19338425385e415e8d18491bf5540 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion : '2010-09-09' | |
Transform: AWS::Serverless-2016-10-31 | |
Description: An example SAM template for Lambda Safe Deployments. | |
Globals: | |
Api: | |
BinaryMediaTypes: | |
- '*/*' | |
Resources: | |
api: | |
Type: AWS::Serverless::Api | |
Properties: | |
StageName: Prod | |
f1: | |
Type: AWS::Serverless::Function | |
Properties: | |
Handler: app.handler | |
Runtime: nodejs8.10 | |
AutoPublishAlias: live | |
MemorySize: 512 | |
Timeout: 20 | |
Events: | |
Api: | |
Type: Api | |
Properties: | |
RestApiId: !Ref api | |
Path: / | |
Method: ANY | |
ApiProxy: | |
Type: Api | |
Properties: | |
RestApiId: !Ref api | |
Path: /{proxy+} | |
Method: ANY | |
Outputs: | |
RestApiId: | |
Value: !Ref api | |
Export: | |
Name: AppRestApiId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment