CfnDataSourceProps Struct
Properties for defining a CfnDataSource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearch as opensearch } from 'aws-cdk-lib';
const cfnDataSourceProps: opensearch.CfnDataSourceProps = {
dataSourceType: {
s3GlueDataCatalog: {
roleArn: 'roleArn',
},
},
domainName: 'domainName',
name: 'name',
// the properties below are optional
description: 'description',
};
Properties
dataSourceTypeIResolvable | CfnDataSource.DataSourceTypePropertydata_source_typetyping.Union[IResolvable, DataSourceTypeProperty]dataSourceTypeIResolvableDataSourceTypeIResolvableDataSourceTypeinterface{}required#The type of data source.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#A description of the data source.
The name of the OpenSearch Service domain.
The name of the data source.