Interface CfnDataSourceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourceProps.Jsii$Proxy
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") .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) .catalogName("catalogName") .dataAccessRole("dataAccessRole") .build()) .redshiftRunConfiguration(RedshiftRunConfigurationInputProperty.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 .dataAccessRole("dataAccessRole") .redshiftCredentialConfiguration(RedshiftCredentialConfigurationProperty.builder() .secretManagerArn("secretManagerArn") .build()) .redshiftStorage(RedshiftStorageProperty.builder() .redshiftClusterSource(RedshiftClusterStorageProperty.builder() .clusterName("clusterName") .build()) .redshiftServerlessSource(RedshiftServerlessStorageProperty.builder() .workgroupName("workgroupName") .build()) .build()) .build()) .sageMakerRunConfiguration(SageMakerRunConfigurationInputProperty.builder() .trackingAssets(Map.of( "trackingAssetsKey", List.of("trackingAssets"))) .build()) .build()) .connectionIdentifier("connectionIdentifier") .description("description") .enableSetting("enableSetting") .environmentIdentifier("environmentIdentifier") .publishOnImport(false) .recommendation(RecommendationConfigurationProperty.builder() .enableBusinessNameGeneration(false) .build()) .schedule(ScheduleConfigurationProperty.builder() .schedule("schedule") .timezone("timezone") .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDataSourceProps
static final class
An implementation forCfnDataSourceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDataSourceProps.Builder
builder()
default Object
The metadata forms attached to the assets that the data source works with.default Object
The configuration of the data source.default String
The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run.default String
The description of the data source.The ID of the Amazon DataZone domain where the data source is created.default String
Specifies whether the data source is enabled.default String
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.getName()
The name of the data source.The identifier of the Amazon DataZone project in which you want to add this data source.default Object
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.default Object
Specifies whether the business name generation is to be enabled for this data source.default Object
The schedule of the data source runs.getType()
The type of the data source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainIdentifier
The ID of the Amazon DataZone domain where the data source is created.- See Also:
-
getName
The name of the data source.- See Also:
-
getProjectIdentifier
The identifier of the Amazon DataZone project in which you want to add this data source.- See Also:
-
getType
The type of the data source.- See Also:
-
getAssetFormsInput
The metadata forms attached to the assets that the data source works with.- See Also:
-
getConfiguration
The configuration of the data source.- See Also:
-
getConnectionIdentifier
The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run.- See Also:
-
getDescription
The description of the data source.- See Also:
-
getEnableSetting
Specifies whether the data source is enabled.- See Also:
-
getEnvironmentIdentifier
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.- See Also:
-
getPublishOnImport
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.- See Also:
-
getRecommendation
Specifies whether the business name generation is to be enabled for this data source.- See Also:
-
getSchedule
The schedule of the data source runs.- See Also:
-
builder
- Returns:
- a
CfnDataSourceProps.Builder
ofCfnDataSourceProps
-