API Gateway API Mapping

API Gateway API Mapping in AWS connects a custom domain name to a specific API stage in API Gateway v2. It allows you to route requests from a custom domain to the correct API and version, enabling cleaner URLs and better organization of multiple APIs under a single domain. This resource is essential for managing custom domains and directing traffic to the right backend services.

aws.apigatewayv2_api_mapping

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
api_idcorestringThe API identifier.
api_mapping_arncorestring
api_mapping_idcorestringThe API mapping identifier.
stagecorestringThe API stage.
tagscorehstore