{
  "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"
    },
    "GeoProximityLocation" : {
      "$ref" : "#/definitions/GeoProximityLocation"
    },
    "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" ]
    },
    "GeoProximityLocation" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "AWSRegion" : {
          "type" : "string"
        },
        "LocalZoneGroup" : {
          "type" : "string"
        },
        "Bias" : {
          "type" : "integer"
        },
        "Coordinates" : {
          "$ref" : "#/definitions/Coordinates"
        }
      }
    },
    "Coordinates" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Longitude" : {
          "type" : "string"
        },
        "Latitude" : {
          "type" : "string"
        }
      },
      "required" : [ "Latitude", "Longitude" ]
    },
    "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" ]
}