Open
Description
I've read that an API gateway should be automatically created on deploy, but that isn't happening.
Am I missing something?
service: invoices-api
frameworkVersion: '3'
provider:
name: aws
runtime: nodejs14.x
stage: test
region: eu-west-1
custom:
apiGatewayServiceProxies:
eventbridge:
path: /invoice
method: post
source: 'hardcoded_source'
detailType: 'hardcoded_detailType'
eventBusName: { Ref: 'YourBusName' }
resources:
Resources:
YourBus:
Type: AWS::Events::EventBus
Properties:
Name: Default
plugins:
- serverless-apigateway-service-proxy
Metadata
Metadata
Assignees
Labels
No labels