{
  "typeName" : "AWS::GameLift::GameSessionQueue",
  "description" : "Resource Type definition for AWS::GameLift::GameSessionQueue",
  "additionalProperties" : false,
  "properties" : {
    "TimeoutInSeconds" : {
      "type" : "integer"
    },
    "PlayerLatencyPolicies" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/PlayerLatencyPolicy"
      }
    },
    "Destinations" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/Destination"
      }
    },
    "NotificationTarget" : {
      "type" : "string"
    },
    "FilterConfiguration" : {
      "$ref" : "#/definitions/FilterConfiguration"
    },
    "Id" : {
      "type" : "string"
    },
    "Arn" : {
      "type" : "string"
    },
    "CustomEventData" : {
      "type" : "string"
    },
    "Tags" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    },
    "Name" : {
      "type" : "string"
    },
    "PriorityConfiguration" : {
      "$ref" : "#/definitions/PriorityConfiguration"
    }
  },
  "definitions" : {
    "PlayerLatencyPolicy" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "PolicyDurationSeconds" : {
          "type" : "integer"
        },
        "MaximumIndividualPlayerLatencyMilliseconds" : {
          "type" : "integer"
        }
      }
    },
    "Destination" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "DestinationArn" : {
          "type" : "string"
        }
      }
    },
    "FilterConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "AllowedLocations" : {
          "type" : "array",
          "uniqueItems" : false,
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "Tag" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Value" : {
          "type" : "string"
        },
        "Key" : {
          "type" : "string"
        }
      },
      "required" : [ "Value", "Key" ]
    },
    "PriorityConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "PriorityOrder" : {
          "type" : "array",
          "uniqueItems" : false,
          "items" : {
            "type" : "string"
          }
        },
        "LocationOrder" : {
          "type" : "array",
          "uniqueItems" : false,
          "items" : {
            "type" : "string"
          }
        }
      }
    }
  },
  "required" : [ "Name" ],
  "createOnlyProperties" : [ "/properties/Name" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id", "/properties/Arn" ]
}