2021-04-09 16:10:21 +02:00

28 lines
500 B
YAML

service: service
configValidationMode: error
frameworkVersion: '*'
provider:
name: aws
lambdaHashingVersion: 20201221
resources:
Resources:
HttpApi:
Type: AWS::ApiGatewayV2::Api
Properties:
Name: dev-${self:service}
ProtocolType: HTTP
HttpApiStage:
Type: AWS::ApiGatewayV2::Stage
Properties:
ApiId:
Ref: HttpApi
StageName: $default
AutoDeploy: true
Outputs:
HttpApiId:
Value:
Ref: HttpApi