Module: Jets::Resource::ApiGateway::BasePath

Defined in:
lib/jets/resource/api_gateway/base_path/mapping.rb,
lib/jets/resource/api_gateway/base_path.rb,
lib/jets/resource/api_gateway/base_path/role.rb,
lib/jets/resource/api_gateway/base_path/function.rb

Overview

CloudFormation Docs AWS::ApiGateway::DomainName: amzn.to/2BsrSqo

Example:

Type: AWS::ApiGateway::BasePathMapping
Properties:
  BasePath: String
  DomainName: String
  RestApiId: String
  Stage: String

Currently unable to add base path mapping in-place with CloudFormation. The workaround for this is to do it post deployment with raw API calls outside of CloudFormation. Leaving this around for now in case there’s a workaround to get this into CloudFormation instead of raw API calls. Some notes:

* Also tried to change the domain name of to something like demo-dev-[random].mydomain.com
That does not work because the domain name has to match the route53 record exactly.

Defined Under Namespace

Classes: Function, Mapping, Role