Skip to content
v2.277.0

TransformOperationSourceProperty Struct ​

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

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

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

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
// 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();
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"
    } }
};
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 ​

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 for this transformation.
transformOperationIdstringtransform_operation_idstrtransformOperationIdStringTransformOperationIdstringTransformOperationId*stringrequired#
The identifier of the transform operation that provides input data.