{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--mongodb-atlas-networkcontainer.json",
  "title": "MongoDBAtlasNetworkContainerProperties",
  "description": "Returns, adds, edits, and removes network peering containers.. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/mongodb-atlas-networkcontainer.json",
    "sourceSha256": "2c5f8a743cf9c811b2ec335e8c870e267105eae04bd9b79bfb38555ba6cc6ba5"
  },
  "type": "object",
  "properties": {
    "ProjectId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Unique 24-hexadecimal digit string that identifies your project."
    },
    "RegionName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Geographic area that Amazon Web Services (AWS) defines to which MongoDB Cloud deployed this network peering container."
    },
    "Provisioned": {
      "description": "Boolean flag that indicates whether MongoDB Cloud clusters exist in the specified network peering container.",
      "type": "boolean"
    },
    "VpcId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Unique string that identifies the MongoDB Cloud VPC on AWS."
    },
    "AtlasCidrBlock": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "IP addresses expressed in Classless Inter-Domain Routing (CIDR) notation that MongoDB Cloud uses for the network peering containers in your project. MongoDB Cloud assigns all of the project's clusters deployed to this cloud provider an IP address from this range. MongoDB Cloud locks this value if an M10 or greater cluster or a network peering connection exists in this project.\nThese CIDR blocks must fall within the ranges reserved per RFC 1918. AWS further limits the block to between the /24 and /21 ranges.\nTo modify the CIDR block, the target project cannot have:\n- Any M10 or greater clusters\n- Any other VPC peering connections\nYou can also create a new project and create a network peering connection to set the desired MongoDB Cloud network peering container CIDR block for that project. MongoDB Cloud limits the number of MongoDB nodes per network peering connection based on the CIDR block and the region selected for the project.\nExample: A project in an Amazon Web Services (AWS) region supporting three availability zones and an MongoDB CIDR network peering container block of limit of /24 equals 27 three-node replica sets."
    },
    "Profile": {
      "oneOf": [
        {
          "type": "string",
          "default": "default"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The profile is defined in AWS Secret manager. See [Secret Manager Profile setup](../../../examples/profile-secret.yaml)."
    }
  },
  "typeName": "MongoDB::Atlas::NetworkContainer",
  "primaryIdentifier": [
    "/properties/ProjectId",
    "/properties/Id",
    "/properties/Profile"
  ],
  "createOnlyProperties": [
    "/properties/ProjectId",
    "/properties/Profile"
  ],
  "additionalProperties": false,
  "required": [
    "ProjectId",
    "AtlasCidrBlock",
    "RegionName"
  ],
  "readOnlyProperties": [
    "/properties/Id"
  ]
}
