Created
April 27, 2021 02:10
-
-
Save georgmao/75ca6b9531be542eaf42ae09caed43a9 to your computer and use it in GitHub Desktop.
A basic SAM Template for an API that uses DefinitionUri OpenApi specs
This file contains 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 characters
# Create a HttpApi with a YAML OpenAPI Spec | |
# Specify a local file path. SAM will replace it with a S3 path and upload for you | |
# Or you can specify a s3 path directly | |
Type: AWS::Serverless::HttpApi or #AWS::Serverless::Api (REST APIs) | |
Properties: | |
DefinitionUri: ./openapi.yaml or # s3://<mybucket>/<openapi-file-path> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment