Interface CfnDataSourceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:14.607Z")
@Stability(Stable)
public interface CfnDataSourceProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.opensearch.*;
CfnDataSourceProps cfnDataSourceProps = CfnDataSourceProps.builder()
.dataSourceType(DataSourceTypeProperty.builder()
.s3GlueDataCatalog(S3GlueDataCatalogProperty.builder()
.roleArn("roleArn")
.build())
.build())
.domainName("domainName")
.name("name")
// the properties below are optional
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSourcePropsstatic final classAn implementation forCfnDataSourceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDataSourceProps.Builderbuilder()The type of data source.default StringA description of the data source.The name of the OpenSearch Service domain.getName()The name of the data source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataSourceType
The type of data source.Returns union: either
IResolvableorCfnDataSource.DataSourceTypeProperty- See Also:
-
getDomainName
The name of the OpenSearch Service domain.- See Also:
-
getName
The name of the data source.- See Also:
-
getDescription
A description of the data source.- See Also:
-
builder
- Returns:
- a
CfnDataSourceProps.BuilderofCfnDataSourceProps
-