Skip to content
v2.278.0

DataSetRelationProperty Struct ​

A relation between two datasets referenced by a V2 (SEMANTIC_VIEW) topic.

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 dataSetRelationProperty: quicksight.CfnTopicV2.DataSetRelationProperty = {
  left: {
    columnNames: ['columnNames'],
    dataSetArn: 'dataSetArn',
  },
  right: {
    columnNames: ['columnNames'],
    dataSetArn: 'dataSetArn',
  },
};
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

data_set_relation_property = quicksight.CfnTopicV2.DataSetRelationProperty(
    left=quicksight.CfnTopicV2.DataSetRelationEndpointProperty(
        column_names=["columnNames"],
        data_set_arn="dataSetArn"
    ),
    right=quicksight.CfnTopicV2.DataSetRelationEndpointProperty(
        column_names=["columnNames"],
        data_set_arn="dataSetArn"
    )
)
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.*;

DataSetRelationProperty dataSetRelationProperty = DataSetRelationProperty.builder()
        .left(DataSetRelationEndpointProperty.builder()
                .columnNames(List.of("columnNames"))
                .dataSetArn("dataSetArn")
                .build())
        .right(DataSetRelationEndpointProperty.builder()
                .columnNames(List.of("columnNames"))
                .dataSetArn("dataSetArn")
                .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 dataSetRelationProperty = new DataSetRelationProperty {
    Left = new DataSetRelationEndpointProperty {
        ColumnNames = new [] { "columnNames" },
        DataSetArn = "dataSetArn"
    },
    Right = new DataSetRelationEndpointProperty {
        ColumnNames = new [] { "columnNames" },
        DataSetArn = "dataSetArn"
    }
};
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"

dataSetRelationProperty := &DataSetRelationProperty{
	Left: &DataSetRelationEndpointProperty{
		ColumnNames: []*string{
			jsii.String("columnNames"),
		},
		DataSetArn: jsii.String("dataSetArn"),
	},
	Right: &DataSetRelationEndpointProperty{
		ColumnNames: []*string{
			jsii.String("columnNames"),
		},
		DataSetArn: jsii.String("dataSetArn"),
	},
}

Properties ​