Class CfnDataSource
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.datazone.CfnDataSource
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:16.925Z")
@Stability(Stable)
public class CfnDataSource
extends CfnResource
implements IInspectable
The
AWS::DataZone::DataSource
resource specifies an Amazon DataZone data source that is used to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.datazone.*; CfnDataSource cfnDataSource = CfnDataSource.Builder.create(this, "MyCfnDataSource") .domainIdentifier("domainIdentifier") .environmentIdentifier("environmentIdentifier") .name("name") .projectIdentifier("projectIdentifier") .type("type") // the properties below are optional .assetFormsInput(List.of(FormInputProperty.builder() .formName("formName") // the properties below are optional .content("content") .typeIdentifier("typeIdentifier") .typeRevision("typeRevision") .build())) .configuration(DataSourceConfigurationInputProperty.builder() .glueRunConfiguration(GlueRunConfigurationInputProperty.builder() .relationalFilterConfigurations(List.of(RelationalFilterConfigurationProperty.builder() .databaseName("databaseName") // the properties below are optional .filterExpressions(List.of(FilterExpressionProperty.builder() .expression("expression") .type("type") .build())) .schemaName("schemaName") .build())) // the properties below are optional .autoImportDataQualityResult(false) .dataAccessRole("dataAccessRole") .build()) .redshiftRunConfiguration(RedshiftRunConfigurationInputProperty.builder() .redshiftCredentialConfiguration(RedshiftCredentialConfigurationProperty.builder() .secretManagerArn("secretManagerArn") .build()) .redshiftStorage(RedshiftStorageProperty.builder() .redshiftClusterSource(RedshiftClusterStorageProperty.builder() .clusterName("clusterName") .build()) .redshiftServerlessSource(RedshiftServerlessStorageProperty.builder() .workgroupName("workgroupName") .build()) .build()) .relationalFilterConfigurations(List.of(RelationalFilterConfigurationProperty.builder() .databaseName("databaseName") // the properties below are optional .filterExpressions(List.of(FilterExpressionProperty.builder() .expression("expression") .type("type") .build())) .schemaName("schemaName") .build())) // the properties below are optional .dataAccessRole("dataAccessRole") .build()) .build()) .description("description") .enableSetting("enableSetting") .publishOnImport(false) .recommendation(RecommendationConfigurationProperty.builder() .enableBusinessNameGeneration(false) .build()) .schedule(ScheduleConfigurationProperty.builder() .schedule("schedule") .timezone("timezone") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnDataSource
.static interface
The configuration of the data source.static interface
A filter expression in Amazon DataZone.static interface
The details of a metadata form.static interface
The configuration details of the AWS Glue data source.static interface
The recommendation configuration for the data source.static interface
The details of the Amazon Redshift cluster storage.static interface
The details of the credentials required to access an Amazon Redshift cluster.static interface
The relational filter configurations included in the configuration details of the Amazon Redshift data source.static interface
The details of the Amazon Redshift Serverless workgroup storage.static interface
The details of the Amazon Redshift storage as part of the configuration of an Amazon Redshift data source run.static interface
The relational filter configuration for the data source.static interface
The details of the schedule of the data source runs.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnDataSource
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDataSource
(software.amazon.jsii.JsiiObjectRef objRef) CfnDataSource
(software.constructs.Construct scope, String id, CfnDataSourceProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe metadata forms attached to the assets that the data source works with.The timestamp of when the data source was created.The ID of the Amazon DataZone domain in which the data source exists.The ID of the environment in which the data source exists.The identifier of the data source run.The count of the assets created during the last data source run.The timestamp of when the data source run was last performed.The status of the last data source run.The project ID included in the data source run activity.The status of the data source.The timestamp of when the data source was updated.The configuration of the data source.The description of the data source.The ID of the Amazon DataZone domain where the data source is created.Specifies whether the data source is enabled.The unique identifier of the Amazon DataZone environment to which the data source publishes assets.getName()
The name of the data source.The identifier of the Amazon DataZone project in which you want to add this data source.Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.Specifies whether the business name generation is to be enabled for this data source.The schedule of the data source runs.getType()
The type of the data source.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAssetFormsInput
(List<Object> value) The metadata forms attached to the assets that the data source works with.void
setAssetFormsInput
(IResolvable value) The metadata forms attached to the assets that the data source works with.void
setConfiguration
(IResolvable value) The configuration of the data source.void
The configuration of the data source.void
setDescription
(String value) The description of the data source.void
setDomainIdentifier
(String value) The ID of the Amazon DataZone domain where the data source is created.void
setEnableSetting
(String value) Specifies whether the data source is enabled.void
setEnvironmentIdentifier
(String value) The unique identifier of the Amazon DataZone environment to which the data source publishes assets.void
The name of the data source.void
setProjectIdentifier
(String value) The identifier of the Amazon DataZone project in which you want to add this data source.void
setPublishOnImport
(Boolean value) Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.void
setPublishOnImport
(IResolvable value) Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.void
setRecommendation
(IResolvable value) Specifies whether the business name generation is to be enabled for this data source.void
Specifies whether the business name generation is to be enabled for this data source.void
setSchedule
(IResolvable value) The schedule of the data source runs.void
The schedule of the data source runs.void
The type of the data source.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDataSource
protected CfnDataSource(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataSource
protected CfnDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataSource
@Stability(Stable) public CfnDataSource(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDataSourceProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrCreatedAt
The timestamp of when the data source was created. -
getAttrDomainId
The ID of the Amazon DataZone domain in which the data source exists. -
getAttrEnvironmentId
The ID of the environment in which the data source exists. -
getAttrId
The identifier of the data source run. -
getAttrLastRunAssetCount
The count of the assets created during the last data source run. -
getAttrLastRunAt
The timestamp of when the data source run was last performed. -
getAttrLastRunStatus
The status of the last data source run. -
getAttrProjectId
The project ID included in the data source run activity. -
getAttrStatus
The status of the data source. -
getAttrUpdatedAt
The timestamp of when the data source was updated. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getDomainIdentifier
The ID of the Amazon DataZone domain where the data source is created. -
setDomainIdentifier
The ID of the Amazon DataZone domain where the data source is created. -
getEnvironmentIdentifier
The unique identifier of the Amazon DataZone environment to which the data source publishes assets. -
setEnvironmentIdentifier
The unique identifier of the Amazon DataZone environment to which the data source publishes assets. -
getName
The name of the data source. -
setName
The name of the data source. -
getProjectIdentifier
The identifier of the Amazon DataZone project in which you want to add this data source. -
setProjectIdentifier
The identifier of the Amazon DataZone project in which you want to add this data source. -
getType
The type of the data source. -
setType
The type of the data source. -
getAssetFormsInput
The metadata forms attached to the assets that the data source works with. -
setAssetFormsInput
The metadata forms attached to the assets that the data source works with. -
setAssetFormsInput
The metadata forms attached to the assets that the data source works with. -
getConfiguration
The configuration of the data source. -
setConfiguration
The configuration of the data source. -
setConfiguration
@Stability(Stable) public void setConfiguration(@Nullable CfnDataSource.DataSourceConfigurationInputProperty value) The configuration of the data source. -
getDescription
The description of the data source. -
setDescription
The description of the data source. -
getEnableSetting
Specifies whether the data source is enabled. -
setEnableSetting
Specifies whether the data source is enabled. -
getPublishOnImport
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog. -
setPublishOnImport
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog. -
setPublishOnImport
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog. -
getRecommendation
Specifies whether the business name generation is to be enabled for this data source. -
setRecommendation
Specifies whether the business name generation is to be enabled for this data source. -
setRecommendation
@Stability(Stable) public void setRecommendation(@Nullable CfnDataSource.RecommendationConfigurationProperty value) Specifies whether the business name generation is to be enabled for this data source. -
getSchedule
The schedule of the data source runs. -
setSchedule
The schedule of the data source runs. -
setSchedule
@Stability(Stable) public void setSchedule(@Nullable CfnDataSource.ScheduleConfigurationProperty value) The schedule of the data source runs.
-