{
  "typeName" : "AWS::Route53::RecordSetGroup",
  "description" : "Resource Type definition for AWS::Route53::RecordSetGroup",
  "additionalProperties" : false,
  "properties" : {
    "Comment" : {
      "type" : "string"
    },
    "Id" : {
      "type" : "string"
    },
    "HostedZoneName" : {
      "type" : "string"
    },
    "RecordSets" : {
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/RecordSet"
      }
    },
    "HostedZoneId" : {
      "type" : "string"
    }
  },
  "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" ]
    },
    "RecordSet" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "HealthCheckId" : {
          "type" : "string"
        },
        "AliasTarget" : {
          "$ref" : "#/definitions/AliasTarget"
        },
        "HostedZoneName" : {
          "type" : "string"
        },
        "ResourceRecords" : {
          "type" : "array",
          "uniqueItems" : true,
          "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"
        },
        "MultiValueAnswer" : {
          "type" : "boolean"
        }
      },
      "required" : [ "Type", "Name" ]
    },
    "GeoLocation" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "ContinentCode" : {
          "type" : "string"
        },
        "CountryCode" : {
          "type" : "string"
        },
        "SubdivisionCode" : {
          "type" : "string"
        }
      }
    }
  },
  "createOnlyProperties" : [ "/properties/HostedZoneName", "/properties/HostedZoneId" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id" ]
}