mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
28 lines
489 B
YAML
28 lines
489 B
YAML
service: service
|
|
|
|
configValidationMode: error
|
|
frameworkVersion: '*'
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: nodejs16.x
|
|
|
|
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
|