Interface CfnDataSourceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDataSourceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-23T05:56:14.473Z") @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.datazone.*;
 CfnDataSourceProps cfnDataSourceProps = CfnDataSourceProps.builder()
         .domainIdentifier("domainIdentifier")
         .environmentIdentifier("environmentIdentifier")
         .name("name")
         .projectIdentifier("projectIdentifier")
         .type("type")
         // the properties below are optional
         .assetFormsInput(List.of(FormInputProperty.builder()
                 .formName("formName")
                 // the properties below are optional
                 .content("content")
                 .typeIdentifier("typeIdentifier")
                 .typeRevision("typeRevision")
                 .build()))
         .configuration(DataSourceConfigurationInputProperty.builder()
                 .glueRunConfiguration(GlueRunConfigurationInputProperty.builder()
                         .relationalFilterConfigurations(List.of(RelationalFilterConfigurationProperty.builder()
                                 .databaseName("databaseName")
                                 // the properties below are optional
                                 .filterExpressions(List.of(FilterExpressionProperty.builder()
                                         .expression("expression")
                                         .type("type")
                                         .build()))
                                 .schemaName("schemaName")
                                 .build()))
                         // the properties below are optional
                         .autoImportDataQualityResult(false)
                         .dataAccessRole("dataAccessRole")
                         .build())
                 .redshiftRunConfiguration(RedshiftRunConfigurationInputProperty.builder()
                         .redshiftCredentialConfiguration(RedshiftCredentialConfigurationProperty.builder()
                                 .secretManagerArn("secretManagerArn")
                                 .build())
                         .redshiftStorage(RedshiftStorageProperty.builder()
                                 .redshiftClusterSource(RedshiftClusterStorageProperty.builder()
                                         .clusterName("clusterName")
                                         .build())
                                 .redshiftServerlessSource(RedshiftServerlessStorageProperty.builder()
                                         .workgroupName("workgroupName")
                                         .build())
                                 .build())
                         .relationalFilterConfigurations(List.of(RelationalFilterConfigurationProperty.builder()
                                 .databaseName("databaseName")
                                 // the properties below are optional
                                 .filterExpressions(List.of(FilterExpressionProperty.builder()
                                         .expression("expression")
                                         .type("type")
                                         .build()))
                                 .schemaName("schemaName")
                                 .build()))
                         // the properties below are optional
                         .dataAccessRole("dataAccessRole")
                         .build())
                 .build())
         .description("description")
         .enableSetting("enableSetting")
         .publishOnImport(false)
         .recommendation(RecommendationConfigurationProperty.builder()
                 .enableBusinessNameGeneration(false)
                 .build())
         .schedule(ScheduleConfigurationProperty.builder()
                 .schedule("schedule")
                 .timezone("timezone")
                 .build())
         .build();
 

See Also: