ImportTableOperationProperty Struct
A transform operation that imports data from a source table.
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 importTableOperationProperty: quicksight.CfnDataSet.ImportTableOperationProperty = {
alias: 'alias',
source: {
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_property = quicksight.CfnDataSet.ImportTableOperationProperty(
alias="alias",
source=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.*;
ImportTableOperationProperty importTableOperationProperty = ImportTableOperationProperty.builder()
.alias("alias")
.source(ImportTableOperationSourceProperty.builder()
.sourceTableId("sourceTableId")
// the properties below are optional
.columnIdMappings(List.of(DataSetColumnIdMappingProperty.builder()
.sourceColumnId("sourceColumnId")
.targetColumnId("targetColumnId")
.build()))
.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 importTableOperationProperty = new ImportTableOperationProperty {
Alias = "alias",
Source = 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"
importTableOperationProperty := &ImportTableOperationProperty{
Alias: jsii.String("alias"),
Source: &ImportTableOperationSourceProperty{
SourceTableId: jsii.String("sourceTableId"),
// the properties below are optional
ColumnIdMappings: []interface{}{
&DataSetColumnIdMappingProperty{
SourceColumnId: jsii.String("sourceColumnId"),
TargetColumnId: jsii.String("targetColumnId"),
},
},
},
}
Properties
Alias for this operation.
sourceIResolvable | CfnDataSet.ImportTableOperationSourcePropertysourcetyping.Union[IResolvable, ImportTableOperationSourceProperty]sourceIResolvableSourceIResolvableSourceinterface{}required#The source configuration that specifies which source table to import and any column mappings.