Skip to content

SalesforceConfiguration

Source code in docs_src/capo_kendra/types/salesforce_configuration.py
class SalesforceConfiguration(TypedDict, closed=True):
    server_url: "capo_kendra.types.url.Url"
    """<p>The instance URL for the Salesforce site that you want to index.</p>"""
    secret_arn: "capo_kendra.types.secret_arn.SecretArn"
    """<p>The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required to connect to your Salesforce instance. The secret must contain a JSON structure with the following keys:</p> <ul> <li> <p>authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an OAUTH token. </p> </li> <li> <p>consumerKey - The application public key generated when you created your Salesforce application.</p> </li> <li> <p>consumerSecret - The application private key generated when you created your Salesforce application.</p> </li> <li> <p>password - The password associated with the user logging in to the Salesforce instance.</p> </li> <li> <p>securityToken - The token associated with the user logging in to the Salesforce instance.</p> </li> <li> <p>username - The user name of the user logging in to the Salesforce instance.</p> </li> </ul>"""
    standard_object_configurations: NotRequired[
        "capo_kendra.types.salesforce_standard_object_configuration_list.SalesforceStandardObjectConfigurationList"
    ]
    """<p>Configuration of the Salesforce standard objects that Amazon Kendra indexes.</p>"""
    knowledge_article_configuration: NotRequired[
        "capo_kendra.types.salesforce_knowledge_article_configuration.SalesforceKnowledgeArticleConfiguration"
    ]
    """<p>Configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both.</p>"""
    chatter_feed_configuration: NotRequired[
        "capo_kendra.types.salesforce_chatter_feed_configuration.SalesforceChatterFeedConfiguration"
    ]
    """<p>Configuration information for Salesforce chatter feeds.</p>"""
    crawl_attachments: "capo_kendra.types.boolean.Boolean"
    """<p>Indicates whether Amazon Kendra should index attachments to Salesforce objects.</p>"""
    standard_object_attachment_configuration: NotRequired[
        "capo_kendra.types.salesforce_standard_object_attachment_configuration.SalesforceStandardObjectAttachmentConfiguration"
    ]
    """<p>Configuration information for processing attachments to Salesforce standard objects. </p>"""
    include_attachment_file_patterns: NotRequired[
        "capo_kendra.types.data_source_inclusions_exclusions_strings.DataSourceInclusionsExclusionsStrings"
    ]
    """<p>A list of regular expression patterns to include certain documents in your Salesforce. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.</p> <p>The pattern is applied to the name of the attached file.</p>"""
    exclude_attachment_file_patterns: NotRequired[
        "capo_kendra.types.data_source_inclusions_exclusions_strings.DataSourceInclusionsExclusionsStrings"
    ]
    """<p>A list of regular expression patterns to exclude certain documents in your Salesforce. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.</p> <p>The pattern is applied to the name of the attached file.</p>"""

chatter_feed_configuration instance-attribute

chatter_feed_configuration: NotRequired[SalesforceChatterFeedConfiguration]

Configuration information for Salesforce chatter feeds.

crawl_attachments instance-attribute

crawl_attachments: Boolean

Indicates whether Amazon Kendra should index attachments to Salesforce objects.

exclude_attachment_file_patterns instance-attribute

exclude_attachment_file_patterns: NotRequired[DataSourceInclusionsExclusionsStrings]

A list of regular expression patterns to exclude certain documents in your Salesforce. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the name of the attached file.

include_attachment_file_patterns instance-attribute

include_attachment_file_patterns: NotRequired[DataSourceInclusionsExclusionsStrings]

A list of regular expression patterns to include certain documents in your Salesforce. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the name of the attached file.

knowledge_article_configuration instance-attribute

knowledge_article_configuration: NotRequired[SalesforceKnowledgeArticleConfiguration]

Configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both.

secret_arn instance-attribute

secret_arn: SecretArn

The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required to connect to your Salesforce instance. The secret must contain a JSON structure with the following keys:

  • authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an OAUTH token.

  • consumerKey - The application public key generated when you created your Salesforce application.

  • consumerSecret - The application private key generated when you created your Salesforce application.

  • password - The password associated with the user logging in to the Salesforce instance.

  • securityToken - The token associated with the user logging in to the Salesforce instance.

  • username - The user name of the user logging in to the Salesforce instance.

server_url instance-attribute

server_url: Url

The instance URL for the Salesforce site that you want to index.

standard_object_attachment_configuration instance-attribute

standard_object_attachment_configuration: NotRequired[
    SalesforceStandardObjectAttachmentConfiguration
]

Configuration information for processing attachments to Salesforce standard objects.

standard_object_configurations instance-attribute

standard_object_configurations: NotRequired[SalesforceStandardObjectConfigurationList]

Configuration of the Salesforce standard objects that Amazon Kendra indexes.