# DataIntegrationFlowSourceProperty

The DataIntegrationFlow source parameters.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
        }
    }
};
```

Golang:

```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

- `datasetSource`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataIntegrationFlow.DatasetSourceConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_scn.CfnDataIntegrationFlow.DatasetSourceConfigurationProperty.html) — The dataset source configuration parameters.

- `s3Source`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataIntegrationFlow.S3SourceConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_scn.CfnDataIntegrationFlow.S3SourceConfigurationProperty.html) — The S3 source configuration parameters.

- `sourceName`: string (required) — The source name that can be used as table alias in SQL transformation query.

- `sourceType`: string (required) — The source type.
