Class CfnDataSourceProps
Properties for defining a CfnDataSource.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.DataZone
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDataSourceProps : ICfnDataSourceProps
Syntax (vb)
Public Class CfnDataSourceProps Implements ICfnDataSourceProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-datasource.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataZone;
var cfnDataSourceProps = new CfnDataSourceProps {
DomainIdentifier = "domainIdentifier",
Name = "name",
ProjectIdentifier = "projectIdentifier",
Type = "type",
// the properties below are optional
AssetFormsInput = new [] { new FormInputProperty {
FormName = "formName",
// the properties below are optional
Content = "content",
TypeIdentifier = "typeIdentifier",
TypeRevision = "typeRevision"
} },
Configuration = new DataSourceConfigurationInputProperty {
GlueRunConfiguration = new GlueRunConfigurationInputProperty {
RelationalFilterConfigurations = new [] { new RelationalFilterConfigurationProperty {
DatabaseName = "databaseName",
// the properties below are optional
FilterExpressions = new [] { new FilterExpressionProperty {
Expression = "expression",
Type = "type"
} },
SchemaName = "schemaName"
} },
// the properties below are optional
AutoImportDataQualityResult = false,
CatalogName = "catalogName",
DataAccessRole = "dataAccessRole"
},
RedshiftRunConfiguration = new RedshiftRunConfigurationInputProperty {
RelationalFilterConfigurations = new [] { new RelationalFilterConfigurationProperty {
DatabaseName = "databaseName",
// the properties below are optional
FilterExpressions = new [] { new FilterExpressionProperty {
Expression = "expression",
Type = "type"
} },
SchemaName = "schemaName"
} },
// the properties below are optional
DataAccessRole = "dataAccessRole",
RedshiftCredentialConfiguration = new RedshiftCredentialConfigurationProperty {
SecretManagerArn = "secretManagerArn"
},
RedshiftStorage = new RedshiftStorageProperty {
RedshiftClusterSource = new RedshiftClusterStorageProperty {
ClusterName = "clusterName"
},
RedshiftServerlessSource = new RedshiftServerlessStorageProperty {
WorkgroupName = "workgroupName"
}
}
},
SageMakerRunConfiguration = new SageMakerRunConfigurationInputProperty {
TrackingAssets = new Dictionary<string, string[]> {
{ "trackingAssetsKey", new [] { "trackingAssets" } }
}
}
},
ConnectionIdentifier = "connectionIdentifier",
Description = "description",
EnableSetting = "enableSetting",
EnvironmentIdentifier = "environmentIdentifier",
PublishOnImport = false,
Recommendation = new RecommendationConfigurationProperty {
EnableBusinessNameGeneration = false
},
Schedule = new ScheduleConfigurationProperty {
Schedule = "schedule",
Timezone = "timezone"
}
};
Synopsis
Constructors
| CfnDataSourceProps() | Properties for defining a |
Properties
| AssetFormsInput | The metadata forms attached to the assets that the data source works with. |
| Configuration | The configuration of the data source. |
| ConnectionIdentifier | The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run. |
| Description | The description of the data source. |
| DomainIdentifier | The ID of the Amazon DataZone domain where the data source is created. |
| EnableSetting | Specifies whether the data source is enabled. |
| EnvironmentIdentifier | The unique identifier of the Amazon DataZone environment to which the data source publishes assets. |
| Name | The name of the data source. |
| ProjectIdentifier | The identifier of the Amazon DataZone project in which you want to add this data source. |
| PublishOnImport | 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. |
Constructors
CfnDataSourceProps()
Properties for defining a CfnDataSource.
public CfnDataSourceProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-datasource.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataZone;
var cfnDataSourceProps = new CfnDataSourceProps {
DomainIdentifier = "domainIdentifier",
Name = "name",
ProjectIdentifier = "projectIdentifier",
Type = "type",
// the properties below are optional
AssetFormsInput = new [] { new FormInputProperty {
FormName = "formName",
// the properties below are optional
Content = "content",
TypeIdentifier = "typeIdentifier",
TypeRevision = "typeRevision"
} },
Configuration = new DataSourceConfigurationInputProperty {
GlueRunConfiguration = new GlueRunConfigurationInputProperty {
RelationalFilterConfigurations = new [] { new RelationalFilterConfigurationProperty {
DatabaseName = "databaseName",
// the properties below are optional
FilterExpressions = new [] { new FilterExpressionProperty {
Expression = "expression",
Type = "type"
} },
SchemaName = "schemaName"
} },
// the properties below are optional
AutoImportDataQualityResult = false,
CatalogName = "catalogName",
DataAccessRole = "dataAccessRole"
},
RedshiftRunConfiguration = new RedshiftRunConfigurationInputProperty {
RelationalFilterConfigurations = new [] { new RelationalFilterConfigurationProperty {
DatabaseName = "databaseName",
// the properties below are optional
FilterExpressions = new [] { new FilterExpressionProperty {
Expression = "expression",
Type = "type"
} },
SchemaName = "schemaName"
} },
// the properties below are optional
DataAccessRole = "dataAccessRole",
RedshiftCredentialConfiguration = new RedshiftCredentialConfigurationProperty {
SecretManagerArn = "secretManagerArn"
},
RedshiftStorage = new RedshiftStorageProperty {
RedshiftClusterSource = new RedshiftClusterStorageProperty {
ClusterName = "clusterName"
},
RedshiftServerlessSource = new RedshiftServerlessStorageProperty {
WorkgroupName = "workgroupName"
}
}
},
SageMakerRunConfiguration = new SageMakerRunConfigurationInputProperty {
TrackingAssets = new Dictionary<string, string[]> {
{ "trackingAssetsKey", new [] { "trackingAssets" } }
}
}
},
ConnectionIdentifier = "connectionIdentifier",
Description = "description",
EnableSetting = "enableSetting",
EnvironmentIdentifier = "environmentIdentifier",
PublishOnImport = false,
Recommendation = new RecommendationConfigurationProperty {
EnableBusinessNameGeneration = false
},
Schedule = new ScheduleConfigurationProperty {
Schedule = "schedule",
Timezone = "timezone"
}
};
Properties
AssetFormsInput
The metadata forms attached to the assets that the data source works with.
public object? AssetFormsInput { get; set; }
Property Value
Remarks
Configuration
The configuration of the data source.
public object? Configuration { get; set; }
Property Value
Remarks
ConnectionIdentifier
The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run.
public string? ConnectionIdentifier { get; set; }
Property Value
Remarks
Description
The description of the data source.
public string? Description { get; set; }
Property Value
Remarks
DomainIdentifier
The ID of the Amazon DataZone domain where the data source is created.
public string DomainIdentifier { get; set; }
Property Value
Remarks
EnableSetting
Specifies whether the data source is enabled.
public string? EnableSetting { get; set; }
Property Value
Remarks
EnvironmentIdentifier
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
public string? EnvironmentIdentifier { get; set; }
Property Value
Remarks
Name
The name of the data source.
public string Name { get; set; }
Property Value
Remarks
ProjectIdentifier
The identifier of the Amazon DataZone project in which you want to add this data source.
public string ProjectIdentifier { get; set; }
Property Value
Remarks
PublishOnImport
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
public object? PublishOnImport { get; set; }
Property Value
Remarks
Recommendation
Specifies whether the business name generation is to be enabled for this data source.
public object? Recommendation { get; set; }
Property Value
Remarks
Schedule
The schedule of the data source runs.
public object? Schedule { get; set; }
Property Value
Remarks
Type
The type of the data source.
public string Type { get; set; }
Property Value
Remarks
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.