CfnDataIntegrationFlowProps Struct
Properties for defining a CfnDataIntegrationFlow.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_scn as scn } from 'aws-cdk-lib';
const cfnDataIntegrationFlowProps: scn.CfnDataIntegrationFlowProps = {
instanceId: 'instanceId',
name: 'name',
sources: [{
sourceName: 'sourceName',
sourceType: 'sourceType',
// the properties below are optional
datasetSource: {
datasetIdentifier: 'datasetIdentifier',
// the properties below are optional
options: {
dedupeRecords: false,
dedupeStrategy: {
type: 'type',
// the properties below are optional
fieldPriority: {
fields: [{
name: 'name',
sortOrder: 'sortOrder',
}],
},
},
loadType: 'loadType',
},
},
s3Source: {
bucketName: 'bucketName',
prefix: 'prefix',
// the properties below are optional
options: {
fileType: 'fileType',
},
},
}],
target: {
targetType: 'targetType',
// the properties below are optional
datasetTarget: {
datasetIdentifier: 'datasetIdentifier',
// the properties below are optional
options: {
dedupeRecords: false,
dedupeStrategy: {
type: 'type',
// the properties below are optional
fieldPriority: {
fields: [{
name: 'name',
sortOrder: 'sortOrder',
}],
},
},
loadType: 'loadType',
},
},
},
transformation: {
transformationType: 'transformationType',
// the properties below are optional
sqlTransformation: {
query: 'query',
},
},
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_scn as scn
cfn_data_integration_flow_props = scn.CfnDataIntegrationFlowProps(
instance_id="instanceId",
name="name",
sources=[scn.CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty(
source_name="sourceName",
source_type="sourceType",
# the properties below are optional
dataset_source=scn.CfnDataIntegrationFlow.DatasetSourceConfigurationProperty(
dataset_identifier="datasetIdentifier",
# the properties below are optional
options=scn.CfnDataIntegrationFlow.DatasetOptionsProperty(
dedupe_records=False,
dedupe_strategy=scn.CfnDataIntegrationFlow.DedupeStrategyProperty(
type="type",
# the properties below are optional
field_priority=scn.CfnDataIntegrationFlow.FieldPriorityDedupeStrategyConfigurationProperty(
fields=[scn.CfnDataIntegrationFlow.FieldPriorityDedupeFieldProperty(
name="name",
sort_order="sortOrder"
)]
)
),
load_type="loadType"
)
),
s3_source=scn.CfnDataIntegrationFlow.S3SourceConfigurationProperty(
bucket_name="bucketName",
prefix="prefix",
# the properties below are optional
options=scn.CfnDataIntegrationFlow.S3OptionsProperty(
file_type="fileType"
)
)
)],
target=scn.CfnDataIntegrationFlow.DataIntegrationFlowTargetProperty(
target_type="targetType",
# the properties below are optional
dataset_target=scn.CfnDataIntegrationFlow.DatasetTargetConfigurationProperty(
dataset_identifier="datasetIdentifier",
# the properties below are optional
options=scn.CfnDataIntegrationFlow.DatasetOptionsProperty(
dedupe_records=False,
dedupe_strategy=scn.CfnDataIntegrationFlow.DedupeStrategyProperty(
type="type",
# the properties below are optional
field_priority=scn.CfnDataIntegrationFlow.FieldPriorityDedupeStrategyConfigurationProperty(
fields=[scn.CfnDataIntegrationFlow.FieldPriorityDedupeFieldProperty(
name="name",
sort_order="sortOrder"
)]
)
),
load_type="loadType"
)
)
),
transformation=scn.CfnDataIntegrationFlow.DataIntegrationFlowTransformationProperty(
transformation_type="transformationType",
# the properties below are optional
sql_transformation=scn.CfnDataIntegrationFlow.SqlTransformationConfigurationProperty(
query="query"
)
),
# the properties below are optional
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.scn.*;
CfnDataIntegrationFlowProps cfnDataIntegrationFlowProps = CfnDataIntegrationFlowProps.builder()
.instanceId("instanceId")
.name("name")
.sources(List.of(DataIntegrationFlowSourceProperty.builder()
.sourceName("sourceName")
.sourceType("sourceType")
// the properties below are optional
.datasetSource(DatasetSourceConfigurationProperty.builder()
.datasetIdentifier("datasetIdentifier")
// the properties below are optional
.options(DatasetOptionsProperty.builder()
.dedupeRecords(false)
.dedupeStrategy(DedupeStrategyProperty.builder()
.type("type")
// the properties below are optional
.fieldPriority(FieldPriorityDedupeStrategyConfigurationProperty.builder()
.fields(List.of(FieldPriorityDedupeFieldProperty.builder()
.name("name")
.sortOrder("sortOrder")
.build()))
.build())
.build())
.loadType("loadType")
.build())
.build())
.s3Source(S3SourceConfigurationProperty.builder()
.bucketName("bucketName")
.prefix("prefix")
// the properties below are optional
.options(S3OptionsProperty.builder()
.fileType("fileType")
.build())
.build())
.build()))
.target(DataIntegrationFlowTargetProperty.builder()
.targetType("targetType")
// the properties below are optional
.datasetTarget(DatasetTargetConfigurationProperty.builder()
.datasetIdentifier("datasetIdentifier")
// the properties below are optional
.options(DatasetOptionsProperty.builder()
.dedupeRecords(false)
.dedupeStrategy(DedupeStrategyProperty.builder()
.type("type")
// the properties below are optional
.fieldPriority(FieldPriorityDedupeStrategyConfigurationProperty.builder()
.fields(List.of(FieldPriorityDedupeFieldProperty.builder()
.name("name")
.sortOrder("sortOrder")
.build()))
.build())
.build())
.loadType("loadType")
.build())
.build())
.build())
.transformation(DataIntegrationFlowTransformationProperty.builder()
.transformationType("transformationType")
// the properties below are optional
.sqlTransformation(SqlTransformationConfigurationProperty.builder()
.query("query")
.build())
.build())
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SCN;
var cfnDataIntegrationFlowProps = new CfnDataIntegrationFlowProps {
InstanceId = "instanceId",
Name = "name",
Sources = new [] { new DataIntegrationFlowSourceProperty {
SourceName = "sourceName",
SourceType = "sourceType",
// the properties below are optional
DatasetSource = new DatasetSourceConfigurationProperty {
DatasetIdentifier = "datasetIdentifier",
// the properties below are optional
Options = new DatasetOptionsProperty {
DedupeRecords = false,
DedupeStrategy = new DedupeStrategyProperty {
Type = "type",
// the properties below are optional
FieldPriority = new FieldPriorityDedupeStrategyConfigurationProperty {
Fields = new [] { new FieldPriorityDedupeFieldProperty {
Name = "name",
SortOrder = "sortOrder"
} }
}
},
LoadType = "loadType"
}
},
S3Source = new S3SourceConfigurationProperty {
BucketName = "bucketName",
Prefix = "prefix",
// the properties below are optional
Options = new S3OptionsProperty {
FileType = "fileType"
}
}
} },
Target = new DataIntegrationFlowTargetProperty {
TargetType = "targetType",
// the properties below are optional
DatasetTarget = new DatasetTargetConfigurationProperty {
DatasetIdentifier = "datasetIdentifier",
// the properties below are optional
Options = new DatasetOptionsProperty {
DedupeRecords = false,
DedupeStrategy = new DedupeStrategyProperty {
Type = "type",
// the properties below are optional
FieldPriority = new FieldPriorityDedupeStrategyConfigurationProperty {
Fields = new [] { new FieldPriorityDedupeFieldProperty {
Name = "name",
SortOrder = "sortOrder"
} }
}
},
LoadType = "loadType"
}
}
},
Transformation = new DataIntegrationFlowTransformationProperty {
TransformationType = "transformationType",
// the properties below are optional
SqlTransformation = new SqlTransformationConfigurationProperty {
Query = "query"
}
},
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnDataIntegrationFlowProps := &CfnDataIntegrationFlowProps{
InstanceId: jsii.String("instanceId"),
Name: jsii.String("name"),
Sources: []interface{}{
&DataIntegrationFlowSourceProperty{
SourceName: jsii.String("sourceName"),
SourceType: jsii.String("sourceType"),
// the properties below are optional
DatasetSource: &DatasetSourceConfigurationProperty{
DatasetIdentifier: jsii.String("datasetIdentifier"),
// the properties below are optional
Options: &DatasetOptionsProperty{
DedupeRecords: jsii.Boolean(false),
DedupeStrategy: &DedupeStrategyProperty{
Type: jsii.String("type"),
// the properties below are optional
FieldPriority: &FieldPriorityDedupeStrategyConfigurationProperty{
Fields: []interface{}{
&FieldPriorityDedupeFieldProperty{
Name: jsii.String("name"),
SortOrder: jsii.String("sortOrder"),
},
},
},
},
LoadType: jsii.String("loadType"),
},
},
S3Source: &S3SourceConfigurationProperty{
BucketName: jsii.String("bucketName"),
Prefix: jsii.String("prefix"),
// the properties below are optional
Options: &S3OptionsProperty{
FileType: jsii.String("fileType"),
},
},
},
},
Target: &DataIntegrationFlowTargetProperty{
TargetType: jsii.String("targetType"),
// the properties below are optional
DatasetTarget: &DatasetTargetConfigurationProperty{
DatasetIdentifier: jsii.String("datasetIdentifier"),
// the properties below are optional
Options: &DatasetOptionsProperty{
DedupeRecords: jsii.Boolean(false),
DedupeStrategy: &DedupeStrategyProperty{
Type: jsii.String("type"),
// the properties below are optional
FieldPriority: &FieldPriorityDedupeStrategyConfigurationProperty{
Fields: []interface{}{
&FieldPriorityDedupeFieldProperty{
Name: jsii.String("name"),
SortOrder: jsii.String("sortOrder"),
},
},
},
},
LoadType: jsii.String("loadType"),
},
},
},
Transformation: &DataIntegrationFlowTransformationProperty{
TransformationType: jsii.String("transformationType"),
// the properties below are optional
SqlTransformation: &SqlTransformationConfigurationProperty{
Query: jsii.String("query"),
},
},
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
The Amazon Web Services Supply Chain instance identifier.
The name of the DataIntegrationFlow.
sourcesIResolvable | IResolvable | CfnDataIntegrationFlow.sourcestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DataIntegrationFlowSourceProperty]]]sourcesIResolvableSourcesIResolvableSourcesinterface{} required #The source configurations for the DataIntegrationFlow.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #The tags for the DataIntegrationFlow.
targetIResolvable | CfnDataIntegrationFlow.targettyping.Union[IResolvable, DataIntegrationFlowTargetProperty]targetIResolvableTargetIResolvableTargetinterface{} required #The DataIntegrationFlow target parameters.
transformationIResolvable | CfnDataIntegrationFlow.transformationtyping.Union[IResolvable, DataIntegrationFlowTransformationProperty]transformationIResolvableTransformationIResolvableTransformationinterface{} required #The DataIntegrationFlow transformation parameters.