{
 "additionalIdentifiers": [
  [
   "/properties/Name"
  ],
  [
   "/properties/Arn"
  ]
 ],
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/StandbyReplicas",
  "/properties/Generation"
 ],
 "definitions": {
  "CapacityLimits": {
   "additionalProperties": false,
   "properties": {
    "MaxIndexingCapacityInOcu": {
     "minimum": 1,
     "multipleOf": 0.5,
     "type": "number"
    },
    "MaxSearchCapacityInOcu": {
     "minimum": 1,
     "multipleOf": 0.5,
     "type": "number"
    },
    "MinIndexingCapacityInOcu": {
     "minimum": 0,
     "multipleOf": 0.5,
     "type": "number"
    },
    "MinSearchCapacityInOcu": {
     "minimum": 0,
     "multipleOf": 0.5,
     "type": "number"
    }
   },
   "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/Id"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "CapacityLimits": {
   "$ref": "#/definitions/CapacityLimits"
  },
  "Description": {
   "maxLength": 1000,
   "type": "string"
  },
  "Generation": {
   "enum": [
    "CLASSIC",
    "NEXTGEN"
   ],
   "type": "string"
  },
  "Id": {
   "maxLength": 40,
   "minLength": 3,
   "type": "string"
  },
  "Name": {
   "maxLength": 32,
   "minLength": 3,
   "pattern": "^[a-z][a-z0-9-]{2,31}$",
   "type": "string"
  },
  "StandbyReplicas": {
   "enum": [
    "ENABLED",
    "DISABLED"
   ],
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/Arn"
 ],
 "required": [
  "Name",
  "StandbyReplicas"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-opensearchserverless",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::OpenSearchServerless::CollectionGroup"
}
