1. Packages
  2. AWS Native
  3. API Docs
  4. datazone
  5. getDataSource

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.datazone.getDataSource

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    A data source is used to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone.

    Using getDataSource

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDataSource(args: GetDataSourceArgs, opts?: InvokeOptions): Promise<GetDataSourceResult>
    function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: InvokeOptions): Output<GetDataSourceResult>
    def get_data_source(domain_id: Optional[str] = None,
                        id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDataSourceResult
    def get_data_source_output(domain_id: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDataSourceResult]
    func LookupDataSource(ctx *Context, args *LookupDataSourceArgs, opts ...InvokeOption) (*LookupDataSourceResult, error)
    func LookupDataSourceOutput(ctx *Context, args *LookupDataSourceOutputArgs, opts ...InvokeOption) LookupDataSourceResultOutput

    > Note: This function is named LookupDataSource in the Go SDK.

    public static class GetDataSource 
    {
        public static Task<GetDataSourceResult> InvokeAsync(GetDataSourceArgs args, InvokeOptions? opts = null)
        public static Output<GetDataSourceResult> Invoke(GetDataSourceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDataSourceResult> getDataSource(GetDataSourceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:datazone:getDataSource
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DomainId string
    The ID of the Amazon DataZone domain where the data source is created.
    Id string
    The unique identifier of the data source.
    DomainId string
    The ID of the Amazon DataZone domain where the data source is created.
    Id string
    The unique identifier of the data source.
    domainId String
    The ID of the Amazon DataZone domain where the data source is created.
    id String
    The unique identifier of the data source.
    domainId string
    The ID of the Amazon DataZone domain where the data source is created.
    id string
    The unique identifier of the data source.
    domain_id str
    The ID of the Amazon DataZone domain where the data source is created.
    id str
    The unique identifier of the data source.
    domainId String
    The ID of the Amazon DataZone domain where the data source is created.
    id String
    The unique identifier of the data source.

    getDataSource Result

    The following output properties are available:

    CreatedAt string
    The timestamp of when the data source was created.
    Description string
    The description of the data source.
    DomainId string
    The ID of the Amazon DataZone domain where the data source is created.
    EnableSetting Pulumi.AwsNative.DataZone.DataSourceEnableSetting
    Specifies whether the data source is enabled.
    EnvironmentId 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.
    LastRunAssetCount double
    The number of assets created by the data source during its last run.
    LastRunAt string
    The timestamp that specifies when the data source was last run.
    LastRunStatus string
    The status of the last run of this data source.
    Name string
    The name of the data source.
    ProjectId string
    The ID of the Amazon DataZone project to which the data source is added.
    PublishOnImport bool
    Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
    Recommendation Pulumi.AwsNative.DataZone.Outputs.DataSourceRecommendationConfiguration
    Specifies whether the business name generation is to be enabled for this data source.
    Schedule Pulumi.AwsNative.DataZone.Outputs.DataSourceScheduleConfiguration
    The schedule of the data source runs.
    Status Pulumi.AwsNative.DataZone.DataSourceStatus
    The status of the data source.
    UpdatedAt string
    The timestamp of when this data source was updated.
    CreatedAt string
    The timestamp of when the data source was created.
    Description string
    The description of the data source.
    DomainId string
    The ID of the Amazon DataZone domain where the data source is created.
    EnableSetting DataSourceEnableSetting
    Specifies whether the data source is enabled.
    EnvironmentId 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.
    LastRunAssetCount float64
    The number of assets created by the data source during its last run.
    LastRunAt string
    The timestamp that specifies when the data source was last run.
    LastRunStatus string
    The status of the last run of this data source.
    Name string
    The name of the data source.
    ProjectId string
    The ID of the Amazon DataZone project to which the data source is added.
    PublishOnImport bool
    Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
    Recommendation DataSourceRecommendationConfiguration
    Specifies whether the business name generation is to be enabled for this data source.
    Schedule DataSourceScheduleConfiguration
    The schedule of the data source runs.
    Status DataSourceStatus
    The status of the data source.
    UpdatedAt string
    The timestamp of when this data source was updated.
    createdAt String
    The timestamp of when the data source was created.
    description String
    The description of the data source.
    domainId String
    The ID of the Amazon DataZone domain where the data source is created.
    enableSetting DataSourceEnableSetting
    Specifies whether the data source is enabled.
    environmentId 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.
    lastRunAssetCount Double
    The number of assets created by the data source during its last run.
    lastRunAt String
    The timestamp that specifies when the data source was last run.
    lastRunStatus String
    The status of the last run of this data source.
    name String
    The name of the data source.
    projectId String
    The ID of the Amazon DataZone project to which the data source is added.
    publishOnImport Boolean
    Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
    recommendation DataSourceRecommendationConfiguration
    Specifies whether the business name generation is to be enabled for this data source.
    schedule DataSourceScheduleConfiguration
    The schedule of the data source runs.
    status DataSourceStatus
    The status of the data source.
    updatedAt String
    The timestamp of when this data source was updated.
    createdAt string
    The timestamp of when the data source was created.
    description string
    The description of the data source.
    domainId string
    The ID of the Amazon DataZone domain where the data source is created.
    enableSetting DataSourceEnableSetting
    Specifies whether the data source is enabled.
    environmentId 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.
    lastRunAssetCount number
    The number of assets created by the data source during its last run.
    lastRunAt string
    The timestamp that specifies when the data source was last run.
    lastRunStatus string
    The status of the last run of this data source.
    name string
    The name of the data source.
    projectId string
    The ID of the Amazon DataZone project to which the data source is added.
    publishOnImport boolean
    Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
    recommendation DataSourceRecommendationConfiguration
    Specifies whether the business name generation is to be enabled for this data source.
    schedule DataSourceScheduleConfiguration
    The schedule of the data source runs.
    status DataSourceStatus
    The status of the data source.
    updatedAt string
    The timestamp of when this data source was updated.
    created_at str
    The timestamp of when the data source was created.
    description str
    The description of the data source.
    domain_id str
    The ID of the Amazon DataZone domain where the data source is created.
    enable_setting DataSourceEnableSetting
    Specifies whether the data source is enabled.
    environment_id str
    The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
    id str
    The unique identifier of the data source.
    last_run_asset_count float
    The number of assets created by the data source during its last run.
    last_run_at str
    The timestamp that specifies when the data source was last run.
    last_run_status str
    The status of the last run of this data source.
    name str
    The name of the data source.
    project_id str
    The ID of the Amazon DataZone project to which the data source is added.
    publish_on_import bool
    Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
    recommendation DataSourceRecommendationConfiguration
    Specifies whether the business name generation is to be enabled for this data source.
    schedule DataSourceScheduleConfiguration
    The schedule of the data source runs.
    status DataSourceStatus
    The status of the data source.
    updated_at str
    The timestamp of when this data source was updated.
    createdAt String
    The timestamp of when the data source was created.
    description String
    The description of the data source.
    domainId String
    The ID of the Amazon DataZone domain where the data source is created.
    enableSetting "ENABLED" | "DISABLED"
    Specifies whether the data source is enabled.
    environmentId 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.
    lastRunAssetCount Number
    The number of assets created by the data source during its last run.
    lastRunAt String
    The timestamp that specifies when the data source was last run.
    lastRunStatus String
    The status of the last run of this data source.
    name String
    The name of the data source.
    projectId String
    The ID of the Amazon DataZone project to which the data source is added.
    publishOnImport Boolean
    Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
    recommendation Property Map
    Specifies whether the business name generation is to be enabled for this data source.
    schedule Property Map
    The schedule of the data source runs.
    status "CREATING" | "FAILED_CREATION" | "READY" | "UPDATING" | "FAILED_UPDATE" | "RUNNING" | "DELETING" | "FAILED_DELETION"
    The status of the data source.
    updatedAt String
    The timestamp of when this data source was updated.

    Supporting Types

    DataSourceEnableSetting

    DataSourceRecommendationConfiguration

    EnableBusinessNameGeneration bool
    Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.
    EnableBusinessNameGeneration bool
    Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.
    enableBusinessNameGeneration Boolean
    Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.
    enableBusinessNameGeneration boolean
    Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.
    enable_business_name_generation bool
    Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.
    enableBusinessNameGeneration Boolean
    Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.

    DataSourceScheduleConfiguration

    Schedule string
    The schedule of the data source runs.
    Timezone string
    The timezone of the data source run.
    Schedule string
    The schedule of the data source runs.
    Timezone string
    The timezone of the data source run.
    schedule String
    The schedule of the data source runs.
    timezone String
    The timezone of the data source run.
    schedule string
    The schedule of the data source runs.
    timezone string
    The timezone of the data source run.
    schedule str
    The schedule of the data source runs.
    timezone str
    The timezone of the data source run.
    schedule String
    The schedule of the data source runs.
    timezone String
    The timezone of the data source run.

    DataSourceStatus

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi