Created
April 3, 2020 11:50
-
-
Save kevinchisholm/d1799ce76bcf5a5d22b50652415af11e to your computer and use it in GitHub Desktop.
Revisions
-
kevinchisholm created this gist
Apr 3, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ service: my-service plugins: - serverless-domain-manager provider: name: aws runtime: nodejs12.x stage: ${opt:stage, "dev"} custom: customDomain: basePath: 'orders' createRoute53Record: true stage: ${self:provider.stage} domainName: XXX.YOUR-DOMAIN.com certificateName: "*.YOUR-DOMAIN.com" certificateArn: 'YOUR CERTIFICATE ARN GOES HERE' functions: getHats: handler: handler.hats events: - http: path: hats method: get cors: true getShoes: handler: handler.shoes events: - http: path: shoes method: get cors: true