@Stability(value=Stable) public static final class CfnDataSource.ServiceNowConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.ServiceNowConfigurationProperty>
CfnDataSource.ServiceNowConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDataSource.ServiceNowConfigurationProperty.Builder hostUrl(String hostUrl)
CfnDataSource.ServiceNowConfigurationProperty.getHostUrl()hostUrl - The ServiceNow instance that the data source connects to. This parameter is required.
The host endpoint should look like the following: {instance}.service-now.com.this@Stability(value=Stable) public CfnDataSource.ServiceNowConfigurationProperty.Builder secretArn(String secretArn)
CfnDataSource.ServiceNowConfigurationProperty.getSecretArn()secretArn - 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. This parameter is required.this@Stability(value=Stable) public CfnDataSource.ServiceNowConfigurationProperty.Builder serviceNowBuildVersion(String serviceNowBuildVersion)
serviceNowBuildVersion - The identifier of the release that the ServiceNow host is running. This parameter is required.
If the host is not running the LONDON release, use OTHERS .this@Stability(value=Stable) public CfnDataSource.ServiceNowConfigurationProperty.Builder authenticationType(String authenticationType)
CfnDataSource.ServiceNowConfigurationProperty.getAuthenticationType()authenticationType - 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 the SecretArn field. When you choose OAUTH2 , Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2 authentication, you must generate a token and a client secret using the ServiceNow console. For more information, see Using a ServiceNow data source .
this@Stability(value=Stable) public CfnDataSource.ServiceNowConfigurationProperty.Builder knowledgeArticleConfiguration(CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty knowledgeArticleConfiguration)
knowledgeArticleConfiguration - Configuration information for crawling knowledge articles in the ServiceNow site.this@Stability(value=Stable) public CfnDataSource.ServiceNowConfigurationProperty.Builder knowledgeArticleConfiguration(IResolvable knowledgeArticleConfiguration)
knowledgeArticleConfiguration - Configuration information for crawling knowledge articles in the ServiceNow site.this@Stability(value=Stable) public CfnDataSource.ServiceNowConfigurationProperty.Builder serviceCatalogConfiguration(CfnDataSource.ServiceNowServiceCatalogConfigurationProperty serviceCatalogConfiguration)
serviceCatalogConfiguration - Configuration information for crawling service catalogs in the ServiceNow site.this@Stability(value=Stable) public CfnDataSource.ServiceNowConfigurationProperty.Builder serviceCatalogConfiguration(IResolvable serviceCatalogConfiguration)
serviceCatalogConfiguration - Configuration information for crawling service catalogs in the ServiceNow site.this@Stability(value=Stable) public CfnDataSource.ServiceNowConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.ServiceNowConfigurationProperty>CfnDataSource.ServiceNowConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.