{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/DomainName"
 ],
 "definitions": {
  "DomainNameConfiguration": {
   "additionalProperties": false,
   "properties": {
    "CertificateArn": {
     "format": "AWS::ACM::Certificate.Arn",
     "type": "string"
    },
    "CertificateName": {
     "type": "string"
    },
    "EndpointType": {
     "type": "string"
    },
    "IpAddressType": {
     "type": "string"
    },
    "OwnershipVerificationCertificateArn": {
     "type": "string"
    },
    "SecurityPolicy": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "MutualTlsAuthentication": {
   "additionalProperties": false,
   "properties": {
    "TruststoreUri": {
     "type": "string"
    },
    "TruststoreVersion": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/DomainName"
 ],
 "properties": {
  "DomainName": {
   "type": "string"
  },
  "DomainNameArn": {
   "type": "string"
  },
  "DomainNameConfigurations": {
   "items": {
    "$ref": "#/definitions/DomainNameConfiguration"
   },
   "type": "array",
   "uniqueItems": false
  },
  "MutualTlsAuthentication": {
   "$ref": "#/definitions/MutualTlsAuthentication"
  },
  "RegionalDomainName": {
   "type": "string"
  },
  "RegionalHostedZoneId": {
   "type": "string"
  },
  "RoutingMode": {
   "default": "API_MAPPING_ONLY",
   "enum": [
    "API_MAPPING_ONLY",
    "ROUTING_RULE_THEN_API_MAPPING",
    "ROUTING_RULE_ONLY"
   ],
   "type": "string"
  },
  "Tags": {
   "additionalProperties": false,
   "patternProperties": {
    ".*": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "readOnlyProperties": [
  "/properties/RegionalDomainName",
  "/properties/RegionalHostedZoneId",
  "/properties/DomainNameArn"
 ],
 "required": [
  "DomainName"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigatewayv2.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": false,
  "taggable": true
 },
 "typeName": "AWS::ApiGatewayV2::DomainName"
}
