# DataSetRelationProperty

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

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

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

- `left`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopicV2.DataSetRelationEndpointProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTopicV2.DataSetRelationEndpointProperty.html) (required)

- `right`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopicV2.DataSetRelationEndpointProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTopicV2.DataSetRelationEndpointProperty.html) (required)
