A data source is used to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone.
domain_identifier
(String) The ID of the Amazon DataZone domain where the data source is created.environment_identifier
(String) The unique identifier of the Amazon DataZone environment to which the data source publishes assets.name
(String) The name of the data source.project_identifier
(String) The identifier of the Amazon DataZone project in which you want to add the data source.type
(String) The type of the data source.asset_forms_input
(Attributes List) The metadata forms that are to be attached to the assets that this data source works with. (see below for nested schema)configuration
(Attributes) Configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration. (see below for nested schema)description
(String) The description of the data source.enable_setting
(String) Specifies whether the data source is enabled.publish_on_import
(Boolean) Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.recommendation
(Attributes) Specifies whether the business name generation is to be enabled for this data source. (see below for nested schema)schedule
(Attributes) The schedule of the data source runs. (see below for nested schema)created_at
(String) The timestamp of when the data source was created.data_source_id
(String) The unique identifier of the data source.domain_id
(String) The ID of the Amazon DataZone domain where the data source is created.environment_id
(String) The unique identifier of the Amazon DataZone environment to which the data source publishes assets.id
(String) Uniquely identifies the resource.last_run_asset_count
(Number) The number of assets created by the data source during its last run.last_run_at
(String) The timestamp that specifies when the data source was last run.last_run_status
(String) The status of the last run of this data source.project_id
(String) The ID of the Amazon DataZone project to which the data source is added.status
(String) The status of the data source.updated_at
(String) The timestamp of when this data source was updated.asset_forms_input
Required:
form_name
(String) The name of the metadata form.Optional:
content
(String) The content of the metadata form.type_identifier
(String) The ID of the metadata form type.type_revision
(String) The revision of the metadata form type.configuration
Optional:
glue_run_configuration
(Attributes) (see below for nested schema)redshift_run_configuration
(Attributes) The configuration details of the Amazon Redshift data source. (see below for nested schema)configuration.glue_run_configuration
Required:
relational_filter_configurations
(Attributes List) The relational filter configurations included in the configuration details of the AWS Glue data source. (see below for nested schema)Optional:
auto_import_data_quality_result
(Boolean) Specifies whether to automatically import data quality metrics as part of the data source run.data_access_role
(String) The data access role included in the configuration details of the AWS Glue data source.configuration.glue_run_configuration.relational_filter_configurations
Required:
database_name
(String) The database name specified in the relational filter configuration for the data source.Optional:
filter_expressions
(Attributes List) The filter expressions specified in the relational filter configuration for the data source. (see below for nested schema)schema_name
(String) The schema name specified in the relational filter configuration for the data source.configuration.glue_run_configuration.relational_filter_configurations.filter_expressions
Required:
expression
(String)type
(String) The search filter expression type.configuration.redshift_run_configuration
Required:
redshift_credential_configuration
(Attributes) The details of the credentials required to access an Amazon Redshift cluster. (see below for nested schema)redshift_storage
(Attributes) The details of the Amazon Redshift storage as part of the configuration of an Amazon Redshift data source run. (see below for nested schema)relational_filter_configurations
(Attributes List) The relational filter configurations included in the configuration details of the Amazon Redshift data source. (see below for nested schema)Optional:
data_access_role
(String) The data access role included in the configuration details of the Amazon Redshift data source.configuration.redshift_run_configuration.redshift_credential_configuration
Required:
secret_manager_arn
(String) The ARN of a secret manager for an Amazon Redshift cluster.configuration.redshift_run_configuration.redshift_storage
Optional:
redshift_cluster_source
(Attributes) The name of an Amazon Redshift cluster. (see below for nested schema)redshift_serverless_source
(Attributes) The details of the Amazon Redshift Serverless workgroup storage. (see below for nested schema)configuration.redshift_run_configuration.redshift_storage.redshift_cluster_source
Required:
cluster_name
(String) The name of an Amazon Redshift cluster.configuration.redshift_run_configuration.redshift_storage.redshift_serverless_source
Required:
workgroup_name
(String) The name of the Amazon Redshift Serverless workgroup.configuration.redshift_run_configuration.relational_filter_configurations
Required:
database_name
(String) The database name specified in the relational filter configuration for the data source.Optional:
filter_expressions
(Attributes List) The filter expressions specified in the relational filter configuration for the data source. (see below for nested schema)schema_name
(String) The schema name specified in the relational filter configuration for the data source.configuration.redshift_run_configuration.relational_filter_configurations.filter_expressions
Required:
expression
(String)type
(String) The search filter expression type.recommendation
Optional:
enable_business_name_generation
(Boolean) Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.schedule
Optional:
schedule
(String) The schedule of the data source runs.timezone
(String) The timezone of the data source run.Import is supported using the following syntax:
$ terraform import awscc_datazone_data_source.example <resource ID>