Skip to content
v2.277.0

SourceTableProperty Struct ​

A source table that provides initial data from either a physical table or parent dataset.

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 sourceTableProperty: quicksight.CfnDataSet.SourceTableProperty = {
  dataSet: {
    dataSetArn: 'dataSetArn',
    inputColumns: [{
      name: 'name',
      type: 'type',

      // the properties below are optional
      id: 'id',
      subType: 'subType',
    }],
  },
  physicalTableId: 'physicalTableId',
};
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

source_table_property = quicksight.CfnDataSet.SourceTableProperty(
    data_set=quicksight.CfnDataSet.ParentDataSetProperty(
        data_set_arn="dataSetArn",
        input_columns=[quicksight.CfnDataSet.InputColumnProperty(
            name="name",
            type="type",

            # the properties below are optional
            id="id",
            sub_type="subType"
        )]
    ),
    physical_table_id="physicalTableId"
)
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.*;

SourceTableProperty sourceTableProperty = SourceTableProperty.builder()
        .dataSet(ParentDataSetProperty.builder()
                .dataSetArn("dataSetArn")
                .inputColumns(List.of(InputColumnProperty.builder()
                        .name("name")
                        .type("type")

                        // the properties below are optional
                        .id("id")
                        .subType("subType")
                        .build()))
                .build())
        .physicalTableId("physicalTableId")
        .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 sourceTableProperty = new SourceTableProperty {
    DataSet = new ParentDataSetProperty {
        DataSetArn = "dataSetArn",
        InputColumns = new [] { new InputColumnProperty {
            Name = "name",
            Type = "type",

            // the properties below are optional
            Id = "id",
            SubType = "subType"
        } }
    },
    PhysicalTableId = "physicalTableId"
};
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"

sourceTableProperty := &SourceTableProperty{
	DataSet: &ParentDataSetProperty{
		DataSetArn: jsii.String("dataSetArn"),
		InputColumns: []interface{}{
			&InputColumnProperty{
				Name: jsii.String("name"),
				Type: jsii.String("type"),

				// the properties below are optional
				Id: jsii.String("id"),
				SubType: jsii.String("subType"),
			},
		},
	},
	PhysicalTableId: jsii.String("physicalTableId"),
}

Properties ​

dataSetoptionalIResolvable | CfnDataSet.ParentDataSetPropertydata_setoptionaltyping.Union[IResolvable, ParentDataSetProperty]dataSetoptionalIResolvableDataSetoptionalIResolvableDataSetoptionalinterface{}#
A parent dataset that serves as the data source instead of a physical table.
physicalTableIdoptionalstringphysical_table_idoptionalstrphysicalTableIdoptionalStringPhysicalTableIdoptionalstringPhysicalTableIdoptional*string#
The identifier of the physical table that serves as the data source.