Skip to content
v2.273.0

DataSourceReference Struct ​

A reference to a DataSource resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as interfaces_bedrock } from 'aws-cdk-lib/interfaces';
const dataSourceReference: interfaces_bedrock.DataSourceReference = {
  dataSourceId: 'dataSourceId',
  knowledgeBaseId: 'knowledgeBaseId',
};

Properties ​

dataSourceIdstringdata_source_idstrdataSourceIdStringDataSourceIdstringDataSourceId*stringrequired#
The DataSourceId of the DataSource resource.
knowledgeBaseIdstringknowledge_base_idstrknowledgeBaseIdStringKnowledgeBaseIdstringKnowledgeBaseId*stringrequired#
The KnowledgeBaseId of the DataSource resource.