DatasetTargetConfigurationProperty Struct
The dataset target configuration 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 datasetTargetConfigurationProperty: scn.CfnDataIntegrationFlow.DatasetTargetConfigurationProperty = {
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',
},
};
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_target_configuration_property = 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"
)
)
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.*;
DatasetTargetConfigurationProperty datasetTargetConfigurationProperty = 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();
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 datasetTargetConfigurationProperty = 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"
}
};
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"
datasetTargetConfigurationProperty := &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"),
},
}
Properties
datasetIdentifierstringdataset_identifierstrdatasetIdentifierStringDatasetIdentifierstringDatasetIdentifier*string required #The dataset ARN.
optionsoptionalIResolvable | CfnDataIntegrationFlow.optionsoptionaltyping.Union[IResolvable, DatasetOptionsProperty]optionsoptionalIResolvableOptionsoptionalIResolvableOptionsoptionalinterface{} #The dataset options.