---
type: resource-type
title: BasePathMappingV2
description: aws resource type AWS::ApiGateway::BasePathMappingV2
name: BasePathMappingV2
lexicon: aws
resource_type: AWS::ApiGateway::BasePathMappingV2
---
`AWS::ApiGateway::BasePathMappingV2`, a resource type of the aws lexicon.

## Properties

- `DomainNameArn` (`string`, required): The Arn of an AWS::ApiGateway::DomainNameV2 resource.
- `RestApiId` (`string`, required): The ID of the API.
- `BasePath` (`string`, optional): The base path name that callers of the API must provide in the URL after the domain name.
- `BasePathMappingArn` (`string`, optional): Amazon Resource Name (ARN) of the resource.
- `Stage` (`string`, optional): The name of the API's stage.

## Attributes

- `BasePathMappingArn`
