Interface CfnDataSourcePropsMixin.ServiceNowConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.ServiceNowConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.kendra.*;
ServiceNowConfigurationProperty serviceNowConfigurationProperty = ServiceNowConfigurationProperty.builder()
.authenticationType("authenticationType")
.hostUrl("hostUrl")
.knowledgeArticleConfiguration(ServiceNowKnowledgeArticleConfigurationProperty.builder()
.crawlAttachments(false)
.documentDataFieldName("documentDataFieldName")
.documentTitleFieldName("documentTitleFieldName")
.excludeAttachmentFilePatterns(List.of("excludeAttachmentFilePatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.filterQuery("filterQuery")
.includeAttachmentFilePatterns(List.of("includeAttachmentFilePatterns"))
.build())
.secretArn("secretArn")
.serviceCatalogConfiguration(ServiceNowServiceCatalogConfigurationProperty.builder()
.crawlAttachments(false)
.documentDataFieldName("documentDataFieldName")
.documentTitleFieldName("documentTitleFieldName")
.excludeAttachmentFilePatterns(List.of("excludeAttachmentFilePatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.includeAttachmentFilePatterns(List.of("includeAttachmentFilePatterns"))
.build())
.serviceNowBuildVersion("serviceNowBuildVersion")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSourcePropsMixin.ServiceNowConfigurationPropertystatic final classAn implementation forCfnDataSourcePropsMixin.ServiceNowConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe type of authentication used to connect to the ServiceNow instance.default StringThe ServiceNow instance that the data source connects to.default ObjectConfiguration information for crawling knowledge articles in the ServiceNow site.default StringThe Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance.default ObjectConfiguration information for crawling service catalogs in the ServiceNow site.default StringThe identifier of the release that the ServiceNow host is running.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthenticationType
The type of authentication used to connect to the ServiceNow instance.If you choose
HTTP_BASIC, Amazon Kendra is authenticated using the user name and password provided in the AWS Secrets Manager secret in theSecretArnfield. If you chooseOAUTH2, Amazon Kendra is authenticated using the credentials of client ID, client secret, user name and password.When you use
OAUTH2authentication, you must generate a token and a client secret using the ServiceNow console. For more information, see Using a ServiceNow data source .- See Also:
-
getHostUrl
The ServiceNow instance that the data source connects to.The host endpoint should look like the following: {instance}.service-now.com.
- See Also:
-
getKnowledgeArticleConfiguration
Configuration information for crawling knowledge articles in the ServiceNow site.Returns union: either
IResolvableorCfnDataSourcePropsMixin.ServiceNowKnowledgeArticleConfigurationProperty- See Also:
-
getSecretArn
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance.You can also provide OAuth authentication credentials of user name, password, client ID, and client secret. For more information, see Using a ServiceNow data source .
- See Also:
-
getServiceCatalogConfiguration
Configuration information for crawling service catalogs in the ServiceNow site.Returns union: either
IResolvableorCfnDataSourcePropsMixin.ServiceNowServiceCatalogConfigurationProperty- See Also:
-
getServiceNowBuildVersion
The identifier of the release that the ServiceNow host is running.If the host is not running the
LONDONrelease, useOTHERS.- See Also:
-
builder
-