# ImportTableOperationSourceProperty

Specifies the source table and column mappings for an import table operation.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

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

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

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

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.QuickSight;

var importTableOperationSourceProperty = new ImportTableOperationSourceProperty {
    SourceTableId = "sourceTableId",

    // the properties below are optional
    ColumnIdMappings = new [] { new DataSetColumnIdMappingProperty {
        SourceColumnId = "sourceColumnId",
        TargetColumnId = "targetColumnId"
    } }
};
```

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"

importTableOperationSourceProperty := &ImportTableOperationSourceProperty{
	SourceTableId: jsii.String("sourceTableId"),

	// the properties below are optional
	ColumnIdMappings: []interface{}{
		&DataSetColumnIdMappingProperty{
			SourceColumnId: jsii.String("sourceColumnId"),
			TargetColumnId: jsii.String("targetColumnId"),
		},
	},
}
```

## Properties

- `columnIdMappings`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.DataSetColumnIdMappingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.DataSetColumnIdMappingProperty.html)[] — The mappings between source column identifiers and target column identifiers during the import.

- `sourceTableId`: string (required) — The identifier of the source table to import data from.
