@Stability(value=Stable) public static final class CfnDataSource.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource>
CfnDataSource.| Modifier and Type | Method and Description |
|---|---|
CfnDataSource |
build() |
static CfnDataSource.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDataSource.Builder |
customDocumentEnrichmentConfiguration(CfnDataSource.CustomDocumentEnrichmentConfigurationProperty customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process.
|
CfnDataSource.Builder |
customDocumentEnrichmentConfiguration(IResolvable customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process.
|
CfnDataSource.Builder |
dataSourceConfiguration(CfnDataSource.DataSourceConfigurationProperty dataSourceConfiguration)
Configuration information for an Amazon Kendra data source.
|
CfnDataSource.Builder |
dataSourceConfiguration(IResolvable dataSourceConfiguration)
Configuration information for an Amazon Kendra data source.
|
CfnDataSource.Builder |
description(String description)
A description of the data source.
|
CfnDataSource.Builder |
indexId(String indexId)
The identifier of the index that should be associated with this data source.
|
CfnDataSource.Builder |
name(String name)
The name of the data source.
|
CfnDataSource.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source.
|
CfnDataSource.Builder |
schedule(String schedule)
Sets the frequency that Amazon Kendra checks the documents in your data source and updates the index.
|
CfnDataSource.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
CfnDataSource.Builder |
type(String type)
The type of the data source.
|
@Stability(value=Stable) public static CfnDataSource.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDataSource.AccessControlListConfigurationProperty.Builder.@Stability(value=Stable) public CfnDataSource.Builder indexId(String indexId)
indexId - The identifier of the index that should be associated with this data source. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder name(String name)
name - The name of the data source. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder type(String type)
type - The type of the data source. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder customDocumentEnrichmentConfiguration(CfnDataSource.CustomDocumentEnrichmentConfigurationProperty customDocumentEnrichmentConfiguration)
customDocumentEnrichmentConfiguration - Configuration information for altering document metadata and content during the document ingestion process. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder customDocumentEnrichmentConfiguration(IResolvable customDocumentEnrichmentConfiguration)
customDocumentEnrichmentConfiguration - Configuration information for altering document metadata and content during the document ingestion process. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder dataSourceConfiguration(CfnDataSource.DataSourceConfigurationProperty dataSourceConfiguration)
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.
dataSourceConfiguration - Configuration information for an Amazon Kendra data source. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder dataSourceConfiguration(IResolvable dataSourceConfiguration)
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.
dataSourceConfiguration - Configuration information for an Amazon Kendra data source. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder description(String description)
description - A description of the data source. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder roleArn(String roleArn)
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.
roleArn - The Amazon Resource Name (ARN) of a role with permission to access the data source. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder schedule(String schedule)
If you don't set a schedule, Amazon Kendra doesn't periodically update the index.
schedule - Sets the frequency that Amazon Kendra checks the documents in your data source and updates the index. This parameter is required.this@Stability(value=Stable) public CfnDataSource.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnDataSource build()
build in interface software.amazon.jsii.Builder<CfnDataSource>Copyright © 2022. All rights reserved.