---
type: resource-type
title: Apigwv2DomainName
description: aws resource type AWS::ApiGatewayV2::DomainName
name: Apigwv2DomainName
lexicon: aws
resource_type: AWS::ApiGatewayV2::DomainName
---
`AWS::ApiGatewayV2::DomainName`, a resource type of the aws lexicon.

## Properties

- `DomainName` (`string`, required): The custom domain name for your API in Amazon API Gateway. Uppercase letters and the underscore (``_``) character are not supported.
- `DomainNameArn` (`string`, optional)
- `DomainNameConfigurations` (`Apigwv2DomainName_DomainNameConfiguration[]`, optional): The domain name configurations.
- `MutualTlsAuthentication` (`Apigwv2DomainName_MutualTlsAuthentication`, optional): The mutual TLS authentication configuration for a custom domain name.
- `RegionalDomainName` (`string`, optional)
- `RegionalHostedZoneId` (`string`, optional)
- `RoutingMode` (`"API_MAPPING_ONLY" | "ROUTING_RULE_ONLY" | "ROUTING_RULE_THEN_API_MAPPING"`, optional): The routing mode API Gateway uses to route traffic to your APIs.
- `Tags` (`Record<string, unknown>`, optional): The collection of tags associated with a domain name.

## Attributes

- `DomainNameArn`
- `RegionalDomainName`
- `RegionalHostedZoneId`
