{
  "type": "MANAGED_KNOWLEDGE_BASE_CONNECTOR",
  "managedKnowledgeBaseConnectorConfiguration": {
    "deletionProtectionConfiguration": {
      "deletionProtectionStatus": "ENABLED",
      "deletionProtectionThreshold": 15
    },
    "connectorParameters": {
      "type": "SALESFORCE",
      "connectorType": "SALESFORCE",
      "version": "1",
      "connectionConfiguration": {
        "secretArn": "arn:aws:secretsmanager:us-east-1:YOUR_ACCOUNT_ID:secret:bedrock-salesforce-creds",
        "authType": "OAUTH2",
        "hostUrl": "https://your-domain.my.salesforce.com"
      },
      "dataEntityConfiguration": {
        "crawlKnowledgeArticles": true,
        "crawlKnowledgeArticleAttachments": false,
        "crawlArchiveKnowledgeArticleItems": false,
        "crawlDocuments": false
      },
      "filterConfiguration": {
        "maxFileSizeInMegaBytes": "50",
        "knowledgeArticleFilter": {
          "dataCategoryConfiguration": [
            {
              "categoryGroupName": "Public",
              "operator": "AT",
              "dataCategoryNames": ["External"]
            }
          ]
        }
      }
    }
  }
}
