@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:10.739Z") @Stability(value=Stable) public class CfnDataSource extends CfnResource implements IInspectable
Specifies a data source that you use to with an Amazon Kendra index.
You specify a name, connector type and description for your data source.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kendra.*;
CfnDataSource cfnDataSource = CfnDataSource.Builder.create(this, "MyCfnDataSource")
.indexId("indexId")
.name("name")
.type("type")
// the properties below are optional
.dataSourceConfiguration(DataSourceConfigurationProperty.builder()
.confluenceConfiguration(ConfluenceConfigurationProperty.builder()
.secretArn("secretArn")
.serverUrl("serverUrl")
.version("version")
// the properties below are optional
.attachmentConfiguration(ConfluenceAttachmentConfigurationProperty.builder()
.attachmentFieldMappings(List.of(ConfluenceAttachmentToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.crawlAttachments(false)
.build())
.blogConfiguration(ConfluenceBlogConfigurationProperty.builder()
.blogFieldMappings(List.of(ConfluenceBlogToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.exclusionPatterns(List.of("exclusionPatterns"))
.inclusionPatterns(List.of("inclusionPatterns"))
.pageConfiguration(ConfluencePageConfigurationProperty.builder()
.pageFieldMappings(List.of(ConfluencePageToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.spaceConfiguration(ConfluenceSpaceConfigurationProperty.builder()
.crawlArchivedSpaces(false)
.crawlPersonalSpaces(false)
.excludeSpaces(List.of("excludeSpaces"))
.includeSpaces(List.of("includeSpaces"))
.spaceFieldMappings(List.of(ConfluenceSpaceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.vpcConfiguration(DataSourceVpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build())
.databaseConfiguration(DatabaseConfigurationProperty.builder()
.columnConfiguration(ColumnConfigurationProperty.builder()
.changeDetectingColumns(List.of("changeDetectingColumns"))
.documentDataColumnName("documentDataColumnName")
.documentIdColumnName("documentIdColumnName")
// the properties below are optional
.documentTitleColumnName("documentTitleColumnName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.connectionConfiguration(ConnectionConfigurationProperty.builder()
.databaseHost("databaseHost")
.databaseName("databaseName")
.databasePort(123)
.secretArn("secretArn")
.tableName("tableName")
.build())
.databaseEngineType("databaseEngineType")
// the properties below are optional
.aclConfiguration(AclConfigurationProperty.builder()
.allowedGroupsColumnName("allowedGroupsColumnName")
.build())
.sqlConfiguration(SqlConfigurationProperty.builder()
.queryIdentifiersEnclosingOption("queryIdentifiersEnclosingOption")
.build())
.vpcConfiguration(DataSourceVpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build())
.googleDriveConfiguration(GoogleDriveConfigurationProperty.builder()
.secretArn("secretArn")
// the properties below are optional
.excludeMimeTypes(List.of("excludeMimeTypes"))
.excludeSharedDrives(List.of("excludeSharedDrives"))
.excludeUserAccounts(List.of("excludeUserAccounts"))
.exclusionPatterns(List.of("exclusionPatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.inclusionPatterns(List.of("inclusionPatterns"))
.build())
.oneDriveConfiguration(OneDriveConfigurationProperty.builder()
.oneDriveUsers(OneDriveUsersProperty.builder()
.oneDriveUserList(List.of("oneDriveUserList"))
.oneDriveUserS3Path(S3PathProperty.builder()
.bucket("bucket")
.key("key")
.build())
.build())
.secretArn("secretArn")
.tenantDomain("tenantDomain")
// the properties below are optional
.disableLocalGroups(false)
.exclusionPatterns(List.of("exclusionPatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.inclusionPatterns(List.of("inclusionPatterns"))
.build())
.s3Configuration(S3DataSourceConfigurationProperty.builder()
.bucketName("bucketName")
// the properties below are optional
.accessControlListConfiguration(AccessControlListConfigurationProperty.builder()
.keyPath("keyPath")
.build())
.documentsMetadataConfiguration(DocumentsMetadataConfigurationProperty.builder()
.s3Prefix("s3Prefix")
.build())
.exclusionPatterns(List.of("exclusionPatterns"))
.inclusionPatterns(List.of("inclusionPatterns"))
.inclusionPrefixes(List.of("inclusionPrefixes"))
.build())
.salesforceConfiguration(SalesforceConfigurationProperty.builder()
.secretArn("secretArn")
.serverUrl("serverUrl")
// the properties below are optional
.chatterFeedConfiguration(SalesforceChatterFeedConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
// the properties below are optional
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.includeFilterTypes(List.of("includeFilterTypes"))
.build())
.crawlAttachments(false)
.excludeAttachmentFilePatterns(List.of("excludeAttachmentFilePatterns"))
.includeAttachmentFilePatterns(List.of("includeAttachmentFilePatterns"))
.knowledgeArticleConfiguration(SalesforceKnowledgeArticleConfigurationProperty.builder()
.includedStates(List.of("includedStates"))
// the properties below are optional
.customKnowledgeArticleTypeConfigurations(List.of(SalesforceCustomKnowledgeArticleTypeConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
.name("name")
// the properties below are optional
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build()))
.standardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
// the properties below are optional
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.build())
.standardObjectAttachmentConfiguration(SalesforceStandardObjectAttachmentConfigurationProperty.builder()
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.standardObjectConfigurations(List.of(SalesforceStandardObjectConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
.name("name")
// the properties below are optional
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build()))
.build())
.serviceNowConfiguration(ServiceNowConfigurationProperty.builder()
.hostUrl("hostUrl")
.secretArn("secretArn")
.serviceNowBuildVersion("serviceNowBuildVersion")
// the properties below are optional
.authenticationType("authenticationType")
.knowledgeArticleConfiguration(ServiceNowKnowledgeArticleConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
// the properties below are optional
.crawlAttachments(false)
.documentTitleFieldName("documentTitleFieldName")
.excludeAttachmentFilePatterns(List.of("excludeAttachmentFilePatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.filterQuery("filterQuery")
.includeAttachmentFilePatterns(List.of("includeAttachmentFilePatterns"))
.build())
.serviceCatalogConfiguration(ServiceNowServiceCatalogConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
// the properties below are optional
.crawlAttachments(false)
.documentTitleFieldName("documentTitleFieldName")
.excludeAttachmentFilePatterns(List.of("excludeAttachmentFilePatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.includeAttachmentFilePatterns(List.of("includeAttachmentFilePatterns"))
.build())
.build())
.sharePointConfiguration(SharePointConfigurationProperty.builder()
.secretArn("secretArn")
.sharePointVersion("sharePointVersion")
.urls(List.of("urls"))
// the properties below are optional
.crawlAttachments(false)
.disableLocalGroups(false)
.documentTitleFieldName("documentTitleFieldName")
.exclusionPatterns(List.of("exclusionPatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.inclusionPatterns(List.of("inclusionPatterns"))
.sslCertificateS3Path(S3PathProperty.builder()
.bucket("bucket")
.key("key")
.build())
.useChangeLog(false)
.vpcConfiguration(DataSourceVpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build())
.webCrawlerConfiguration(WebCrawlerConfigurationProperty.builder()
.urls(WebCrawlerUrlsProperty.builder()
.seedUrlConfiguration(WebCrawlerSeedUrlConfigurationProperty.builder()
.seedUrls(List.of("seedUrls"))
// the properties below are optional
.webCrawlerMode("webCrawlerMode")
.build())
.siteMapsConfiguration(WebCrawlerSiteMapsConfigurationProperty.builder()
.siteMaps(List.of("siteMaps"))
.build())
.build())
// the properties below are optional
.authenticationConfiguration(WebCrawlerAuthenticationConfigurationProperty.builder()
.basicAuthentication(List.of(WebCrawlerBasicAuthenticationProperty.builder()
.credentials("credentials")
.host("host")
.port(123)
.build()))
.build())
.crawlDepth(123)
.maxContentSizePerPageInMegaBytes(123)
.maxLinksPerPage(123)
.maxUrlsPerMinuteCrawlRate(123)
.proxyConfiguration(ProxyConfigurationProperty.builder()
.host("host")
.port(123)
// the properties below are optional
.credentials("credentials")
.build())
.urlExclusionPatterns(List.of("urlExclusionPatterns"))
.urlInclusionPatterns(List.of("urlInclusionPatterns"))
.build())
.workDocsConfiguration(WorkDocsConfigurationProperty.builder()
.organizationId("organizationId")
// the properties below are optional
.crawlComments(false)
.exclusionPatterns(List.of("exclusionPatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.inclusionPatterns(List.of("inclusionPatterns"))
.useChangeLog(false)
.build())
.build())
.description("description")
.roleArn("roleArn")
.schedule("schedule")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnDataSource.AccessControlListConfigurationProperty
Specifies access control list files for the documents in a data source.
|
static interface |
CfnDataSource.AclConfigurationProperty
Provides information about the column that should be used for filtering the query response by groups.
|
static class |
CfnDataSource.Builder
A fluent builder for
CfnDataSource. |
static interface |
CfnDataSource.ColumnConfigurationProperty
Provides information about how Amazon Kendra should use the columns of a database in an index.
|
static interface |
CfnDataSource.ConfluenceAttachmentConfigurationProperty
Specifies the attachment settings for the Confluence data source.
|
static interface |
CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty
Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.
|
static interface |
CfnDataSource.ConfluenceBlogConfigurationProperty
Specifies the blog settings for the Confluence data source.
|
static interface |
CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty
Defines the mapping between a blog field in the Confluence data source to a Amazon Kendra index field.
|
static interface |
CfnDataSource.ConfluenceConfigurationProperty
Provides configuration information for data sources that connect to Confluence.
|
static interface |
CfnDataSource.ConfluencePageConfigurationProperty
Specifies the page settings for the Confluence data source.
|
static interface |
CfnDataSource.ConfluencePageToIndexFieldMappingProperty
Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.
|
static interface |
CfnDataSource.ConfluenceSpaceConfigurationProperty
Specifies the configuration for indexing Confluence spaces.
|
static interface |
CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty
Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.
|
static interface |
CfnDataSource.ConnectionConfigurationProperty
Provides the information necessary to connect to a database.
|
static interface |
CfnDataSource.DatabaseConfigurationProperty
Provides the information necessary to connect a database to an index.
|
static interface |
CfnDataSource.DataSourceConfigurationProperty
Configuration information for an Amazon Kendra data source.
|
static interface |
CfnDataSource.DataSourceToIndexFieldMappingProperty
Maps a column or attribute in the data source to an index field.
|
static interface |
CfnDataSource.DataSourceVpcConfigurationProperty
Provides information for connecting to an Amazon VPC.
|
static interface |
CfnDataSource.DocumentsMetadataConfigurationProperty
Document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes.
|
static interface |
CfnDataSource.GoogleDriveConfigurationProperty
Provides configuration information for data sources that connect to Google Drive.
|
static interface |
CfnDataSource.OneDriveConfigurationProperty
Provides configuration information for data sources that connect to OneDrive.
|
static interface |
CfnDataSource.OneDriveUsersProperty
User accounts whose documents should be indexed.
|
static interface |
CfnDataSource.ProxyConfigurationProperty
Example:
|
static interface |
CfnDataSource.S3DataSourceConfigurationProperty
Provides configuration information for a data source to index documents in an Amazon S3 bucket.
|
static interface |
CfnDataSource.S3PathProperty
Information required to find a specific file in an Amazon S3 bucket.
|
static interface |
CfnDataSource.SalesforceChatterFeedConfigurationProperty
Defines configuration for syncing a Salesforce chatter feed.
|
static interface |
CfnDataSource.SalesforceConfigurationProperty
Provides configuration information for connecting to a Salesforce data source.
|
static interface |
CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty
Provides configuration information for indexing Salesforce custom articles.
|
static interface |
CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty
Specifies configuration information for the knowledge article types that Amazon Kendra indexes.
|
static interface |
CfnDataSource.SalesforceStandardKnowledgeArticleTypeConfigurationProperty
Provides configuration information for standard Salesforce knowledge articles.
|
static interface |
CfnDataSource.SalesforceStandardObjectAttachmentConfigurationProperty
Provides configuration information for processing attachments to Salesforce standard objects.
|
static interface |
CfnDataSource.SalesforceStandardObjectConfigurationProperty
Specifies configuration information for indexing a single standard object.
|
static interface |
CfnDataSource.ServiceNowConfigurationProperty
Provides configuration information required to connect to a ServiceNow data source.
|
static interface |
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty
Provides configuration information for crawling knowledge articles in the ServiceNow site.
|
static interface |
CfnDataSource.ServiceNowServiceCatalogConfigurationProperty
Provides configuration information for crawling service catalog items in the ServiceNow site.
|
static interface |
CfnDataSource.SharePointConfigurationProperty
Provides configuration information for connecting to a Microsoft SharePoint data source.
|
static interface |
CfnDataSource.SqlConfigurationProperty
Provides information that configures Amazon Kendra to use a SQL database.
|
static interface |
CfnDataSource.WebCrawlerAuthenticationConfigurationProperty
Provides the configuration information to connect to websites that require user authentication.
|
static interface |
CfnDataSource.WebCrawlerBasicAuthenticationProperty
Provides the configuration information to connect to websites that require basic user authentication.
|
static interface |
CfnDataSource.WebCrawlerConfigurationProperty
Example:
|
static interface |
CfnDataSource.WebCrawlerSeedUrlConfigurationProperty
Provides the configuration information of the seed or starting point URLs to crawl.
|
static interface |
CfnDataSource.WebCrawlerSiteMapsConfigurationProperty
Provides the configuration information of the sitemap URLs to crawl.
|
static interface |
CfnDataSource.WebCrawlerUrlsProperty
Specifies the seed or starting point URLs of the websites or the sitemap URLs of the websites you want to crawl.
|
static interface |
CfnDataSource.WorkDocsConfigurationProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDataSource(Construct scope,
String id,
CfnDataSourceProps props)
Create a new `AWS::Kendra::DataSource`.
|
protected |
CfnDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDataSource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the data source.
|
String |
getAttrId()
The identifier for the data source.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDataSourceConfiguration()
Configuration information for an Amazon Kendra data source.
|
String |
getDescription()
A description of the data source.
|
String |
getIndexId()
The identifier of the index that should be associated with this data source.
|
String |
getName()
The name of the data source.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to access the data source.
|
String |
getSchedule()
Sets the frequency that Amazon Kendra checks the documents in your data source and updates the index.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
String |
getType()
The type of the data source.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDataSourceConfiguration(CfnDataSource.DataSourceConfigurationProperty value)
Configuration information for an Amazon Kendra data source.
|
void |
setDataSourceConfiguration(IResolvable value)
Configuration information for an Amazon Kendra data source.
|
void |
setDescription(String value)
A description of the data source.
|
void |
setIndexId(String value)
The identifier of the index that should be associated with this data source.
|
void |
setName(String value)
The name of the data source.
|
void |
setRoleArn(String value)
The Amazon Resource Name (ARN) of a role with permission to access the data source.
|
void |
setSchedule(String value)
Sets the frequency that Amazon Kendra checks the documents in your data source and updates the index.
|
void |
setType(String value)
The type of the data source.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDataSource(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDataSource(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnDataSourceProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
arn:aws:kendra:us-west-2:111122223333:index/335c3741-41df-46a6-b5d3-61f85b787884/data-source/b8cae438-6787-4091-8897-684a652bbb0a
@Stability(value=Stable) @NotNull public String getAttrId()
b8cae438-6787-4091-8897-684a652bbb0a .
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
For more information, see Tag .
@Stability(value=Stable) @NotNull public String getIndexId()
@Stability(value=Stable)
public void setIndexId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getType()
@Stability(value=Stable)
public void setType(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getDataSourceConfiguration()
The contents of the configuration depend on the type of data source. You can only specify one type of data source in the configuration. Choose from one of the following data sources.
You can't specify the Configuration parameter when the Type parameter is set to CUSTOM .
The Configuration parameter is required for all other data sources.
@Stability(value=Stable)
public void setDataSourceConfiguration(@Nullable
CfnDataSource.DataSourceConfigurationProperty value)
The contents of the configuration depend on the type of data source. You can only specify one type of data source in the configuration. Choose from one of the following data sources.
You can't specify the Configuration parameter when the Type parameter is set to CUSTOM .
The Configuration parameter is required for all other data sources.
@Stability(value=Stable)
public void setDataSourceConfiguration(@Nullable
IResolvable value)
The contents of the configuration depend on the type of data source. You can only specify one type of data source in the configuration. Choose from one of the following data sources.
You can't specify the Configuration parameter when the Type parameter is set to CUSTOM .
The Configuration parameter is required for all other data sources.
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getRoleArn()
You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM .
The RoleArn parameter is required for all other data sources.
@Stability(value=Stable)
public void setRoleArn(@Nullable
String value)
You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM .
The RoleArn parameter is required for all other data sources.
@Stability(value=Stable) @Nullable public String getSchedule()
If you don't set a schedule, Amazon Kendra doesn't periodically update the index.
@Stability(value=Stable)
public void setSchedule(@Nullable
String value)
If you don't set a schedule, Amazon Kendra doesn't periodically update the index.
Copyright © 2022. All rights reserved.