import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::ApiGatewayV2::ApiMapping</code> 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 <a href="https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping">CreateApiMapping</a> in the <em>Amazon API Gateway V2 API Reference</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apimapping.html">the AWS Docs</a>
*/
export function apiMapping(apiMappingProps) {
    return new AwsResource('AWS::ApiGatewayV2::ApiMapping', apiMappingProps, { ApiMappingId: 'ApiMappingId' });
}
