{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/OdbNetworkId",
  "/properties/PeerNetworkId",
  "/properties/DisplayName"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/OdbPeeringConnectionArn"
 ],
 "properties": {
  "DisplayName": {
   "maxLength": 255,
   "minLength": 1,
   "pattern": "^[a-zA-Z_](?!.*--)[a-zA-Z0-9_-]*$",
   "type": "string"
  },
  "OdbNetworkArn": {
   "type": "string"
  },
  "OdbNetworkId": {
   "maxLength": 2048,
   "minLength": 6,
   "pattern": "^(arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-zA-Z0-9_~.-]{6,64}|[a-zA-Z0-9_~.-]{6,64})$",
   "type": "string"
  },
  "OdbPeeringConnectionArn": {
   "type": "string"
  },
  "OdbPeeringConnectionId": {
   "type": "string"
  },
  "PeerNetworkArn": {
   "type": "string"
  },
  "PeerNetworkId": {
   "maxLength": 2048,
   "minLength": 6,
   "pattern": "^(arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-zA-Z0-9_~.-]{6,64}|[a-zA-Z0-9_~.-]{6,64})$",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  }
 },
 "readOnlyProperties": [
  "/properties/OdbPeeringConnectionArn",
  "/properties/OdbPeeringConnectionId",
  "/properties/OdbNetworkArn",
  "/properties/PeerNetworkArn"
 ],
 "replacementStrategy": "delete_then_create",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::ODB::OdbPeeringConnection",
 "writeOnlyProperties": [
  "/properties/OdbNetworkId",
  "/properties/PeerNetworkId"
 ]
}
