Skip to content

Instantly share code, notes, and snippets.

@asishrs
Last active February 1, 2020 05:58
Show Gist options
  • Save asishrs/bc16ea625ddb6e22b0fed0a64d151f33 to your computer and use it in GitHub Desktop.
Save asishrs/bc16ea625ddb6e22b0fed0a64d151f33 to your computer and use it in GitHub Desktop.
ApiGatewayRestApi:
Type: AWS::ApiGateway::RestApi
Properties:
ApiKeySourceType: HEADER
Description: An API Gateway for Lambda APIs
EndpointConfiguration:
Types:
- REGIONAL
Name: !Join ["", [{"Ref": "AWS::StackName"}, "-api"]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment