{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/DomainName"
 ],
 "definitions": {
  "EndpointConfiguration": {
   "additionalProperties": false,
   "properties": {
    "IpAddressType": {
     "type": "string"
    },
    "Types": {
     "items": {
      "type": "string"
     },
     "type": "array"
    }
   },
   "type": "object"
  },
  "MutualTlsAuthentication": {
   "additionalProperties": false,
   "properties": {
    "TruststoreUri": {
     "type": "string"
    },
    "TruststoreVersion": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/DomainName"
 ],
 "properties": {
  "CertificateArn": {
   "format": "AWS::ACM::Certificate.Arn",
   "type": "string"
  },
  "DistributionDomainName": {
   "type": "string"
  },
  "DistributionHostedZoneId": {
   "type": "string"
  },
  "DomainName": {
   "type": "string"
  },
  "DomainNameArn": {
   "type": "string"
  },
  "EndpointConfiguration": {
   "$ref": "#/definitions/EndpointConfiguration"
  },
  "MutualTlsAuthentication": {
   "$ref": "#/definitions/MutualTlsAuthentication"
  },
  "OwnershipVerificationCertificateArn": {
   "type": "string"
  },
  "RegionalCertificateArn": {
   "type": "string"
  },
  "RegionalDomainName": {
   "type": "string"
  },
  "RegionalHostedZoneId": {
   "type": "string"
  },
  "RoutingMode": {
   "default": "BASE_PATH_MAPPING_ONLY",
   "enum": [
    "BASE_PATH_MAPPING_ONLY",
    "ROUTING_RULE_THEN_BASE_PATH_MAPPING",
    "ROUTING_RULE_ONLY"
   ],
   "type": "string"
  },
  "SecurityPolicy": {
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/DomainNameArn",
  "/properties/RegionalHostedZoneId",
  "/properties/DistributionDomainName",
  "/properties/RegionalDomainName",
  "/properties/DistributionHostedZoneId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::ApiGateway::DomainName"
}
