Skip to content
v2.274.0

DatasetSourceProperty Struct ​

The data source for the dataset.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const datasetSourceProperty: iotsitewise.CfnDataset.DatasetSourceProperty = {
  sourceFormat: 'sourceFormat',
  sourceType: 'sourceType',

  // the properties below are optional
  sourceDetail: {
    kendra: {
      knowledgeBaseArn: 'knowledgeBaseArn',
      roleArn: 'roleArn',
    },
  },
};

Properties ​

sourceDetailIResolvable | CfnDataset.SourceDetailPropertysource_detailtyping.Union[IResolvable, SourceDetailProperty]sourceDetailIResolvableSourceDetailIResolvableSourceDetailinterface{}#
The details of the dataset source associated with the dataset.
sourceFormatstringsource_formatstrsourceFormatStringSourceFormatstringSourceFormat*stringrequired#
The format of the dataset source associated with the dataset.
sourceTypestringsource_typestrsourceTypeStringSourceTypestringSourceType*stringrequired#
The type of data source for the dataset.