{
  "typeName" : "AWS::Route53::RecordSet",
  "description" : "Resource Type definition for AWS::Route53::RecordSet",
  "additionalProperties" : false,
  "properties" : {
    "HealthCheckId" : {
      "type" : "string"
    },
    "AliasTarget" : {
      "$ref" : "#/definitions/AliasTarget"
    },
    "Comment" : {
      "type" : "string"
    },
    "HostedZoneName" : {
      "type" : "string"
    },
    "ResourceRecords" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "HostedZoneId" : {
      "type" : "string"
    },
    "SetIdentifier" : {
      "type" : "string"
    },
    "TTL" : {
      "type" : "string"
    },
    "Weight" : {
      "type" : "integer"
    },
    "Name" : {
      "type" : "string"
    },
    "Type" : {
      "type" : "string"
    },
    "CidrRoutingConfig" : {
      "$ref" : "#/definitions/CidrRoutingConfig"
    },
    "Failover" : {
      "type" : "string"
    },
    "Region" : {
      "type" : "string"
    },
    "GeoLocation" : {
      "$ref" : "#/definitions/GeoLocation"
    },
    "Id" : {
      "type" : "string"
    },
    "MultiValueAnswer" : {
      "type" : "boolean"
    }
  },
  "definitions" : {
    "AliasTarget" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "DNSName" : {
          "type" : "string"
        },
        "HostedZoneId" : {
          "type" : "string"
        },
        "EvaluateTargetHealth" : {
          "type" : "boolean"
        }
      },
      "required" : [ "HostedZoneId", "DNSName" ]
    },
    "CidrRoutingConfig" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "CollectionId" : {
          "type" : "string"
        },
        "LocationName" : {
          "type" : "string"
        }
      },
      "required" : [ "CollectionId", "LocationName" ]
    },
    "GeoLocation" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "ContinentCode" : {
          "type" : "string"
        },
        "CountryCode" : {
          "type" : "string"
        },
        "SubdivisionCode" : {
          "type" : "string"
        }
      }
    }
  },
  "required" : [ "Type", "Name" ],
  "createOnlyProperties" : [ "/properties/HostedZoneName", "/properties/Name", "/properties/HostedZoneId" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id" ]
}