data_source
Gets an individual data_source
resource
Overview
Name | data_source |
Type | Resource |
Description | data_source |
Id | awscc.datazone.data_source |
Fields
Name | Datatype | Description |
---|---|---|
asset_forms_input | array | The metadata forms that are to be attached to the assets that this data source works with. |
created_at | string | The timestamp of when the data source was created. |
description | string | The description of the data source. |
domain_id | string | The ID of the Amazon DataZone domain where the data source is created. |
domain_identifier | string | The ID of the Amazon DataZone domain where the data source is created. |
enable_setting | string | Specifies whether the data source is enabled. |
environment_id | string | The unique identifier of the Amazon DataZone environment to which the data source publishes assets. |
environment_identifier | string | The unique identifier of the Amazon DataZone environment to which the data source publishes assets. |
id | string | The unique identifier of the data source. |
configuration | undefined | Configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration. |
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. |
name | string | The name of the data source. |
project_id | string | The ID of the Amazon DataZone project to which the data source is added. |
project_identifier | string | The identifier of the Amazon DataZone project in which you want to add the data source. |
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 | object | Specifies whether the business name generation is to be enabled for this data source. |
schedule | object | The schedule of the data source runs. |
status | string | The status of the data source. |
type | string | The type of the data source. |
updated_at | string | The timestamp of when this data source was updated. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
asset_forms_input,
created_at,
description,
domain_id,
domain_identifier,
enable_setting,
environment_id,
environment_identifier,
id,
configuration,
last_run_asset_count,
last_run_at,
last_run_status,
name,
project_id,
project_identifier,
publish_on_import,
recommendation,
schedule,
status,
type,
updated_at
FROM awscc.datazone.data_source
WHERE data__Identifier = '<DomainId>|<Id>';
Permissions
To operate on the data_source
resource, the following permissions are required:
Read
datazone:GetDataSource
Update
datazone:UpdateDataSource,
datazone:GetDataSource,
datazone:DeleteDataSource
Delete
datazone:DeleteDataSource,
datazone:GetDataSource