{
 "additionalProperties": false,
 "definitions": {
  "RoutingStrategy": {
   "additionalProperties": false,
   "anyOf": [
    {
     "required": [
      "FleetId"
     ]
    },
    {
     "required": [
      "Message"
     ]
    }
   ],
   "properties": {
    "FleetId": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^[a-z]*fleet-[a-zA-Z0-9\\-]+",
     "type": "string"
    },
    "Message": {
     "type": "string"
    },
    "Type": {
     "enum": [
      "SIMPLE",
      "TERMINAL"
     ],
     "type": "string"
    }
   },
   "required": [
    "Type"
   ],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/AliasId"
 ],
 "properties": {
  "AliasArn": {
   "pattern": "^arn:.*:alias\\/alias-\\S+",
   "type": "string"
  },
  "AliasId": {
   "type": "string"
  },
  "Description": {
   "maxLength": 1024,
   "minLength": 1,
   "type": "string"
  },
  "Name": {
   "maxLength": 1024,
   "minLength": 1,
   "pattern": ".*\\S.*",
   "type": "string"
  },
  "RoutingStrategy": {
   "$ref": "#/definitions/RoutingStrategy"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 200,
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/AliasId",
  "/properties/AliasArn"
 ],
 "required": [
  "Name",
  "RoutingStrategy"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-gamelift.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::GameLift::Alias"
}
