interface CfnDataSourceProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.OpenSearch.CfnDataSourceProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsopensearch#CfnDataSourceProps |
Java | software.amazon.awscdk.services.opensearch.CfnDataSourceProps |
Python | aws_cdk.aws_opensearch.CfnDataSourceProps |
TypeScript | aws-cdk-lib » aws_opensearch » CfnDataSourceProps |
Properties for defining a CfnDataSource.
Example
// 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
| Name | Type | Description |
|---|---|---|
| data | IResolvable | Data | The type of data source. |
| domain | string | The name of the OpenSearch Service domain. |
| name | string | The name of the data source. |
| description? | string | A description of the data source. |
dataSourceType
Type:
IResolvable | Data
The type of data source.
domainName
Type:
string
The name of the OpenSearch Service domain.
name
Type:
string
The name of the data source.
description?
Type:
string
(optional)
A description of the data source.

.NET
Go
Java
Python
TypeScript