Skip to content
v2.278.0

DatasetOptionsProperty Struct ​

The dataset options.

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 datasetOptionsProperty: scn.CfnDataIntegrationFlow.DatasetOptionsProperty = {
  dedupeRecords: false,
  dedupeStrategy: {
    type: 'type',

    // the properties below are optional
    fieldPriority: {
      fields: [{
        name: 'name',
        sortOrder: 'sortOrder',
      }],
    },
  },
  loadType: 'loadType',
};
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

dataset_options_property = 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"
)
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.*;

DatasetOptionsProperty datasetOptionsProperty = 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();
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 datasetOptionsProperty = 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"
};
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"

datasetOptionsProperty := &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"),
}

Properties ​

dedupeRecordsoptionalboolean | IResolvablededupe_recordsoptionaltyping.Union[bool, IResolvable]dedupeRecordsoptionalBooleanDedupeRecordsoptionalboolDedupeRecordsoptionalinterface{} #
The option to perform deduplication on data records sharing same primary key values.
dedupeStrategyoptionalIResolvable | CfnDataIntegrationFlow.DedupeStrategyPropertydedupe_strategyoptionaltyping.Union[IResolvable, DedupeStrategyProperty]dedupeStrategyoptionalIResolvableDedupeStrategyoptionalIResolvableDedupeStrategyoptionalinterface{} #
The deduplication strategy.
loadTypeoptionalstringload_typeoptionalstrloadTypeoptionalStringLoadTypeoptionalstringLoadTypeoptional*string #
The load type.