serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
27 lines (23 loc) • 467 B
YAML
service: service
configValidationMode: error
frameworkVersion: '*'
provider:
name: aws
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