DataIntegrationFlowSourceProperty Struct
The DataIntegrationFlow source parameters.
| 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 dataIntegrationFlowSourceProperty: scn.CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty = {
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',
},
},
};
python
# 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
data_integration_flow_source_property = 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"
)
)
)
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.*;
DataIntegrationFlowSourceProperty dataIntegrationFlowSourceProperty = 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();
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 dataIntegrationFlowSourceProperty = 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"
}
}
};
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"
dataIntegrationFlowSourceProperty := &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"),
},
},
}
Properties
datasetSourceoptionalIResolvable | CfnDataIntegrationFlow.dataset_sourceoptionaltyping.Union[IResolvable, DatasetSourceConfigurationProperty]datasetSourceoptionalIResolvableDatasetSourceoptionalIResolvableDatasetSourceoptionalinterface{} #The dataset source configuration parameters.
s3SourceoptionalIResolvable | CfnDataIntegrationFlow.s3_sourceoptionaltyping.Union[IResolvable, S3SourceConfigurationProperty]s3SourceoptionalIResolvableS3SourceoptionalIResolvableS3Sourceoptionalinterface{} #The S3 source configuration parameters.
The source name that can be used as table alias in SQL transformation query.
The source type.