ImportTableOperationSourceProperty Struct
Specifies the source table and column mappings for an import table operation.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const importTableOperationSourceProperty: quicksight.CfnDataSet.ImportTableOperationSourceProperty = {
sourceTableId: 'sourceTableId',
// the properties below are optional
columnIdMappings: [{
sourceColumnId: 'sourceColumnId',
targetColumnId: 'targetColumnId',
}],
};
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_quicksight as quicksight
import_table_operation_source_property = quicksight.CfnDataSet.ImportTableOperationSourceProperty(
source_table_id="sourceTableId",
# the properties below are optional
column_id_mappings=[quicksight.CfnDataSet.DataSetColumnIdMappingProperty(
source_column_id="sourceColumnId",
target_column_id="targetColumnId"
)]
)
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.quicksight.*;
ImportTableOperationSourceProperty importTableOperationSourceProperty = ImportTableOperationSourceProperty.builder()
.sourceTableId("sourceTableId")
// the properties below are optional
.columnIdMappings(List.of(DataSetColumnIdMappingProperty.builder()
.sourceColumnId("sourceColumnId")
.targetColumnId("targetColumnId")
.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.QuickSight;
var importTableOperationSourceProperty = new ImportTableOperationSourceProperty {
SourceTableId = "sourceTableId",
// the properties below are optional
ColumnIdMappings = new [] { new DataSetColumnIdMappingProperty {
SourceColumnId = "sourceColumnId",
TargetColumnId = "targetColumnId"
} }
};
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"
importTableOperationSourceProperty := &ImportTableOperationSourceProperty{
SourceTableId: jsii.String("sourceTableId"),
// the properties below are optional
ColumnIdMappings: []interface{}{
&DataSetColumnIdMappingProperty{
SourceColumnId: jsii.String("sourceColumnId"),
TargetColumnId: jsii.String("targetColumnId"),
},
},
}
Properties
columnIdMappingsoptionalIResolvable | IResolvable | CfnDataSet.DataSetColumnIdMappingProperty[]column_id_mappingsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DataSetColumnIdMappingProperty]]]columnIdMappingsoptionalIResolvableColumnIdMappingsoptionalIResolvableColumnIdMappingsoptionalinterface{}#The mappings between source column identifiers and target column identifiers during the import.
sourceTableIdstringsource_table_idstrsourceTableIdStringSourceTableIdstringSourceTableId*stringrequired#The identifier of the source table to import data from.