# TransformOperationSourceProperty

Specifies the source of data for a transform operation, including the source operation and column mappings.

- 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 transformOperationSourceProperty: quicksight.CfnDataSet.TransformOperationSourceProperty = {
  transformOperationId: 'transformOperationId',

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

transform_operation_source_property = quicksight.CfnDataSet.TransformOperationSourceProperty(
    transform_operation_id="transformOperationId",

    # 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.*;

TransformOperationSourceProperty transformOperationSourceProperty = TransformOperationSourceProperty.builder()
        .transformOperationId("transformOperationId")

        // 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 transformOperationSourceProperty = new TransformOperationSourceProperty {
    TransformOperationId = "transformOperationId",

    // 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"

transformOperationSourceProperty := &TransformOperationSourceProperty{
	TransformOperationId: jsii.String("transformOperationId"),

	// 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 for this transformation.

- `transformOperationId`: string (required) — The identifier of the transform operation that provides input data.
