CfnDataSourceMixinProps
- class aws_cdk.mixins_preview.aws_datazone.mixins.CfnDataSourceMixinProps(*, asset_forms_input=None, configuration=None, connection_identifier=None, description=None, domain_identifier=None, enable_setting=None, environment_identifier=None, name=None, project_identifier=None, publish_on_import=None, recommendation=None, schedule=None, type=None)
Bases:
objectProperties for CfnDataSourcePropsMixin.
- Parameters:
asset_forms_input (
Union[IResolvable,Sequence[Union[IResolvable,FormInputProperty,Dict[str,Any]]],None]) – The metadata forms attached to the assets that the data source works with.configuration (
Union[IResolvable,DataSourceConfigurationInputProperty,Dict[str,Any],None]) – The configuration of the data source.connection_identifier (
Optional[str]) – The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run.description (
Optional[str]) – The description of the data source.domain_identifier (
Optional[str]) – The ID of the Amazon DataZone domain where the data source is created.enable_setting (
Optional[str]) – Specifies whether the data source is enabled.environment_identifier (
Optional[str]) – The unique identifier of the Amazon DataZone environment to which the data source publishes assets.name (
Optional[str]) – The name of the data source.project_identifier (
Optional[str]) – The identifier of the Amazon DataZone project in which you want to add this data source.publish_on_import (
Union[bool,IResolvable,None]) – Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.recommendation (
Union[IResolvable,RecommendationConfigurationProperty,Dict[str,Any],None]) – Specifies whether the business name generation is to be enabled for this data source.schedule (
Union[IResolvable,ScheduleConfigurationProperty,Dict[str,Any],None]) – The schedule of the data source runs.type (
Optional[str]) – The type of the data source. In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for AWS Glue and Amazon Redshift.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-datasource.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_datazone import mixins as datazone_mixins cfn_data_source_mixin_props = datazone_mixins.CfnDataSourceMixinProps( asset_forms_input=[datazone_mixins.CfnDataSourcePropsMixin.FormInputProperty( content="content", form_name="formName", type_identifier="typeIdentifier", type_revision="typeRevision" )], configuration=datazone_mixins.CfnDataSourcePropsMixin.DataSourceConfigurationInputProperty( glue_run_configuration=datazone_mixins.CfnDataSourcePropsMixin.GlueRunConfigurationInputProperty( auto_import_data_quality_result=False, catalog_name="catalogName", data_access_role="dataAccessRole", relational_filter_configurations=[datazone_mixins.CfnDataSourcePropsMixin.RelationalFilterConfigurationProperty( database_name="databaseName", filter_expressions=[datazone_mixins.CfnDataSourcePropsMixin.FilterExpressionProperty( expression="expression", type="type" )], schema_name="schemaName" )] ), redshift_run_configuration=datazone_mixins.CfnDataSourcePropsMixin.RedshiftRunConfigurationInputProperty( data_access_role="dataAccessRole", redshift_credential_configuration=datazone_mixins.CfnDataSourcePropsMixin.RedshiftCredentialConfigurationProperty( secret_manager_arn="secretManagerArn" ), redshift_storage=datazone_mixins.CfnDataSourcePropsMixin.RedshiftStorageProperty( redshift_cluster_source=datazone_mixins.CfnDataSourcePropsMixin.RedshiftClusterStorageProperty( cluster_name="clusterName" ), redshift_serverless_source=datazone_mixins.CfnDataSourcePropsMixin.RedshiftServerlessStorageProperty( workgroup_name="workgroupName" ) ), relational_filter_configurations=[datazone_mixins.CfnDataSourcePropsMixin.RelationalFilterConfigurationProperty( database_name="databaseName", filter_expressions=[datazone_mixins.CfnDataSourcePropsMixin.FilterExpressionProperty( expression="expression", type="type" )], schema_name="schemaName" )] ), sage_maker_run_configuration=datazone_mixins.CfnDataSourcePropsMixin.SageMakerRunConfigurationInputProperty( tracking_assets={ "tracking_assets_key": ["trackingAssets"] } ) ), connection_identifier="connectionIdentifier", description="description", domain_identifier="domainIdentifier", enable_setting="enableSetting", environment_identifier="environmentIdentifier", name="name", project_identifier="projectIdentifier", publish_on_import=False, recommendation=datazone_mixins.CfnDataSourcePropsMixin.RecommendationConfigurationProperty( enable_business_name_generation=False ), schedule=datazone_mixins.CfnDataSourcePropsMixin.ScheduleConfigurationProperty( schedule="schedule", timezone="timezone" ), type="type" )
Attributes
- asset_forms_input
The metadata forms attached to the assets that the data source works with.
- configuration
The configuration of the data source.
- connection_identifier
The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run.
- description
The description of the data source.
- domain_identifier
The ID of the Amazon DataZone domain where the data source is created.
- enable_setting
Specifies whether the data source is enabled.
- environment_identifier
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
- name
The name of the data source.
- project_identifier
The identifier of the Amazon DataZone project in which you want to add this data source.
- publish_on_import
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
- recommendation
Specifies whether the business name generation is to be enabled for this data source.
- schedule
The schedule of the data source runs.
- type
The type of the data source.
In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for AWS Glue and Amazon Redshift.