Skip to main content

api_mappings_list_only

Lists api_mappings in a region or regions, for all properties use api_mappings

Overview

Nameapi_mappings_list_only
TypeResource
DescriptionThe AWS::ApiGatewayV2::ApiMapping resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway V2 API Reference*.
Idaws.apigatewayv2.api_mappings_list_only

Fields

NameDatatypeDescription
api_mapping_idstring
domain_namestringThe domain name.
stagestringThe API stage.
api_mapping_keystringThe API mapping key.
api_idstringThe identifier of the API.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all api_mappings in a region.

SELECT
region,
api_mapping_id,
domain_name
FROM aws.apigatewayv2.api_mappings_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the api_mappings_list_only resource, see api_mappings