{
  "type": "MANAGED_KNOWLEDGE_BASE_CONNECTOR",
  "managedKnowledgeBaseConnectorConfiguration": {
    "deletionProtectionConfiguration": {
      "deletionProtectionStatus": "ENABLED",
      "deletionProtectionThreshold": 15
    },
    "connectorParameters": {
      "type": "SERVICENOW",
      "connectorType": "SERVICENOW",
      "version": "1",
      "connectionConfiguration": {
        "secretArn": "arn:aws:secretsmanager:us-east-1:YOUR_ACCOUNT_ID:secret:bedrock-servicenow-creds",
        "authType": "OAUTH2",
        "hostUrl": "https://INSTANCE.service-now.com"
      },
      "dataEntityConfiguration": {
        "crawlKnowledgeArticles": true,
        "crawlServiceCatalogs": false,
        "crawlKnowledgeArticleAttachments": false,
        "crawlServiceCatalogAttachments": false,
        "crawlInactiveServiceCatalogItems": false,
        "crawlPublicKnowledgeArticlesOnly": true
      },
      "filterConfiguration": {
        "maxFileSizeInMegaBytes": "50"
      }
    }
  }
}
