DataSourceTypeProperty Struct
The type of data source.
| Source | |
|---|---|
| Type last changed |
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 dataSourceTypeProperty: opensearch.CfnDataSource.DataSourceTypeProperty = {
s3GlueDataCatalog: {
roleArn: 'roleArn',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_opensearch as opensearch
data_source_type_property = opensearch.CfnDataSource.DataSourceTypeProperty(
s3_glue_data_catalog=opensearch.CfnDataSource.S3GlueDataCatalogProperty(
role_arn="roleArn"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opensearch.*;
DataSourceTypeProperty dataSourceTypeProperty = DataSourceTypeProperty.builder()
.s3GlueDataCatalog(S3GlueDataCatalogProperty.builder()
.roleArn("roleArn")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpenSearch;
var dataSourceTypeProperty = new DataSourceTypeProperty {
S3GlueDataCatalog = new S3GlueDataCatalogProperty {
RoleArn = "roleArn"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
dataSourceTypeProperty := &DataSourceTypeProperty{
S3GlueDataCatalog: &S3GlueDataCatalogProperty{
RoleArn: jsii.String("roleArn"),
},
}
Properties
s3GlueDataCatalogoptionalIResolvable | CfnDataSource.s3_glue_data_catalogoptionaltyping.Union[IResolvable, S3GlueDataCatalogProperty]s3GlueDataCatalogoptionalIResolvableS3GlueDataCatalogoptionalIResolvableS3GlueDataCatalogoptionalinterface{} #Configuration for an S3 Glue Data Catalog data source.