Skip to content
v2.277.0

ParentDataSetProperty Struct ​

References a parent dataset that serves as a data source, including its columns and metadata.

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

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

parent_data_set_property = 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"
    )]
)
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.*;

ParentDataSetProperty parentDataSetProperty = ParentDataSetProperty.builder()
        .dataSetArn("dataSetArn")
        .inputColumns(List.of(InputColumnProperty.builder()
                .name("name")
                .type("type")

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

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

parentDataSetProperty := &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"),
		},
	},
}

Properties ​

dataSetArnstringdata_set_arnstrdataSetArnStringDataSetArnstringDataSetArn*stringrequired#
The Amazon Resource Name (ARN) of the parent dataset.
inputColumnsIResolvable | IResolvable | CfnDataSet.InputColumnProperty[]input_columnstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InputColumnProperty]]]inputColumnsIResolvableInputColumnsIResolvableInputColumnsinterface{}required#
The list of input columns available from the parent dataset.