{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--mongodb-atlas-thirdpartyintegration.json",
  "title": "MongoDBAtlasThirdPartyIntegrationProperties",
  "description": "Returns, adds, edits, and removes third-party service integration configurations. MongoDB Cloud sends alerts to each third-party service that you configure.. 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-thirdpartyintegration.json",
    "sourceSha256": "11a1d4ad35f31f7b14db1270af71293b0ba20366ca96b65b947b5bc708f602ef"
  },
  "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."
    },
    "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)."
    },
    "Type": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "PAGER_DUTY",
            "MICROSOFT_TEAMS",
            "SLACK",
            "DATADOG",
            "OPS_GENIE",
            "VICTOR_OPS",
            "WEBHOOK",
            "PROMETHEUS"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type."
    },
    "ApiKey": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Key that allows MongoDB Cloud to access your Opsgenie/Datadog account."
    },
    "Region": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Two-letter code that indicates which regional URL MongoDB uses to access the Opsgenie/Datadog API."
    },
    "ServiceKey": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Service key associated with your PagerDuty account."
    },
    "ApiToken": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Key that allows MongoDB Cloud to access your Slack account."
    },
    "TeamName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Human-readable label that identifies your Slack team. Set this parameter when you configure a legacy Slack integration."
    },
    "ChannelName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Name of the Slack channel to which MongoDB Cloud sends alert notifications."
    },
    "RoutingKey": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Routing key associated with your Splunk On-Call account."
    },
    "Url": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Endpoint web address to which MongoDB Cloud sends notifications."
    },
    "Secret": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Parameter returned if someone configure this webhook with a secret."
    },
    "MicrosoftTeamsWebhookUrl": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Endpoint web address of the Microsoft Teams webhook to which MongoDB Cloud sends notifications."
    },
    "UserName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Human-readable label that identifies your Prometheus incoming webhook."
    },
    "Password": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Password required for your integration with Prometheus"
    },
    "ServiceDiscovery": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "http",
            "file"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Desired method to discover the Prometheus service."
    },
    "Scheme": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "http",
            "https"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Security Scheme to apply to HyperText Transfer Protocol (HTTP) traffic between Prometheus and MongoDB Cloud."
    },
    "Enabled": {
      "type": "boolean",
      "description": "Flag that indicates whether someone has activated the Prometheus integration."
    },
    "ListenAddress": {
      "oneOf": [
        {
          "type": "string",
          "default": ":9216"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Combination of IPv4 address and Internet Assigned Numbers Authority (IANA) port or the IANA port alone to which Prometheus binds to ingest MongoDB metrics."
    },
    "TlsPemPath": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Root-relative path to the Transport Layer Security (TLS) Privacy Enhanced Mail (PEM) key and certificate file on the host."
    }
  },
  "$defs": {},
  "additionalProperties": false,
  "typeName": "MongoDB::Atlas::ThirdPartyIntegration",
  "primaryIdentifier": [
    "/properties/ProjectId",
    "/properties/Type",
    "/properties/Profile"
  ],
  "createOnlyProperties": [
    "/properties/ProjectId",
    "/properties/Type",
    "/properties/Profile"
  ],
  "writeOnlyProperties": [
    "/properties/Secret",
    "/properties/Url",
    "/properties/Password",
    "/properties/ServiceKey",
    "/properties/ApiKey",
    "/properties/Region",
    "/properties/ApiToken",
    "/properties/TeamName",
    "/properties/ChannelName",
    "/properties/RoutingKey",
    "/properties/MicrosoftTeamsWebhookUrl",
    "/properties/UserName",
    "/properties/ServiceDiscovery",
    "/properties/Scheme",
    "/properties/Enabled"
  ]
}
