{
 "additionalProperties": false,
 "definitions": {
  "MessageReviewHandler": {
   "additionalProperties": false,
   "properties": {
    "FallbackResult": {
     "default": "ALLOW",
     "enum": [
      "ALLOW",
      "DENY"
     ],
     "type": "string"
    },
    "Uri": {
     "maxLength": 170,
     "minLength": 0,
     "pattern": "^$|^arn:aws:lambda:[a-z0-9-]+:[0-9]{12}:function:.+",
     "type": "string"
    }
   },
   "required": [],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "maxLength": 128,
   "minLength": 1,
   "pattern": "^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:room/[a-zA-Z0-9-]+$",
   "type": "string"
  },
  "Id": {
   "maxLength": 12,
   "minLength": 12,
   "pattern": "^[a-zA-Z0-9]+$",
   "type": "string"
  },
  "LoggingConfigurationIdentifiers": {
   "insertionOrder": false,
   "items": {
    "maxLength": 128,
    "minLength": 1,
    "pattern": "^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:logging-configuration/[a-zA-Z0-9-]+$",
    "type": "string"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": true
  },
  "MaximumMessageLength": {
   "default": 500,
   "maximum": 500,
   "minimum": 1,
   "type": "integer"
  },
  "MaximumMessageRatePerSecond": {
   "default": 10,
   "maximum": 10,
   "minimum": 1,
   "type": "integer"
  },
  "MessageReviewHandler": {
   "$ref": "#/definitions/MessageReviewHandler"
  },
  "Name": {
   "maxLength": 128,
   "minLength": 0,
   "pattern": "^[a-zA-Z0-9-_]*$",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/Id"
 ],
 "required": [],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ivschat.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::IVSChat::Room"
}
