Class: Aws::Kendra::Types::ServiceNowConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kendra/types.rb

Overview

Note:

When making an API call, you may pass ServiceNowConfiguration data as a hash:

{
  host_url: "ServiceNowHostUrl", # required
  secret_arn: "SecretArn", # required
  service_now_build_version: "LONDON", # required, accepts LONDON, OTHERS
  knowledge_article_configuration: {
    crawl_attachments: false,
    include_attachment_file_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
    exclude_attachment_file_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
    document_data_field_name: "DataSourceFieldName", # required
    document_title_field_name: "DataSourceFieldName",
    field_mappings: [
      {
        data_source_field_name: "DataSourceFieldName", # required
        date_field_format: "DataSourceDateFieldFormat",
        index_field_name: "IndexFieldName", # required
      },
    ],
  },
  service_catalog_configuration: {
    crawl_attachments: false,
    include_attachment_file_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
    exclude_attachment_file_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
    document_data_field_name: "DataSourceFieldName", # required
    document_title_field_name: "DataSourceFieldName",
    field_mappings: [
      {
        data_source_field_name: "DataSourceFieldName", # required
        date_field_format: "DataSourceDateFieldFormat",
        index_field_name: "IndexFieldName", # required
      },
    ],
  },
}

Provides configuration information required to connect to a ServiceNow data source.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#host_urlString

The ServiceNow instance that the data source connects to. The host endpoint should look like the following: `instance.service-now.com.`

Returns:

  • (String)

5534
5535
5536
5537
5538
5539
5540
5541
5542
# File 'lib/aws-sdk-kendra/types.rb', line 5534

class ServiceNowConfiguration < Struct.new(
  :host_url,
  :secret_arn,
  :service_now_build_version,
  :knowledge_article_configuration,
  :service_catalog_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_article_configurationTypes::ServiceNowKnowledgeArticleConfiguration

Provides configuration information for crawling knowledge articles in the ServiceNow site.


5534
5535
5536
5537
5538
5539
5540
5541
5542
# File 'lib/aws-sdk-kendra/types.rb', line 5534

class ServiceNowConfiguration < Struct.new(
  :host_url,
  :secret_arn,
  :service_now_build_version,
  :knowledge_article_configuration,
  :service_catalog_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#secret_arnString

The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password required to connect to the ServiceNow instance.

Returns:

  • (String)

5534
5535
5536
5537
5538
5539
5540
5541
5542
# File 'lib/aws-sdk-kendra/types.rb', line 5534

class ServiceNowConfiguration < Struct.new(
  :host_url,
  :secret_arn,
  :service_now_build_version,
  :knowledge_article_configuration,
  :service_catalog_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#service_catalog_configurationTypes::ServiceNowServiceCatalogConfiguration

Provides configuration information for crawling service catalogs in the ServiceNow site.


5534
5535
5536
5537
5538
5539
5540
5541
5542
# File 'lib/aws-sdk-kendra/types.rb', line 5534

class ServiceNowConfiguration < Struct.new(
  :host_url,
  :secret_arn,
  :service_now_build_version,
  :knowledge_article_configuration,
  :service_catalog_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#service_now_build_versionString

The identifier of the release that the ServiceNow host is running. If the host is not running the `LONDON` release, use `OTHERS`.

Returns:

  • (String)

5534
5535
5536
5537
5538
5539
5540
5541
5542
# File 'lib/aws-sdk-kendra/types.rb', line 5534

class ServiceNowConfiguration < Struct.new(
  :host_url,
  :secret_arn,
  :service_now_build_version,
  :knowledge_article_configuration,
  :service_catalog_configuration)
  SENSITIVE = []
  include Aws::Structure
end