# CfnTopicV2Props

Properties for defining a `CfnTopicV2`.

Extends: CfnTopicV2Props
Used as props by: CfnTopicV2

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## 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 cfnTopicV2Props: quicksight.CfnTopicV2Props = {
  awsAccountId: 'awsAccountId',
  customInstructions: {
    customInstructionsString: 'customInstructionsString',
  },
  dataSetRelations: [{
    left: {
      columnNames: ['columnNames'],
      dataSetArn: 'dataSetArn',
    },
    right: {
      columnNames: ['columnNames'],
      dataSetArn: 'dataSetArn',
    },
  }],
  dataSets: [{
    dataSetArn: 'dataSetArn',

    // the properties below are optional
    dataSetName: 'dataSetName',
  }],
  description: 'description',
  folderArns: ['folderArns'],
  name: 'name',
  permissions: [{
    actions: ['actions'],
    principal: 'principal',
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
  topicId: 'topicId',
};
```

## Properties

- `awsAccountId`: string

- `customInstructions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopicV2.CustomInstructionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTopicV2.CustomInstructionsProperty.html)

- `dataSetRelations`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopicV2.DataSetRelationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTopicV2.DataSetRelationProperty.html)[]

- `dataSets`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopicV2.DataSetReferenceProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTopicV2.DataSetReferenceProperty.html)[]

- `description`: string

- `folderArns`: string[]

- `name`: string

- `permissions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopicV2.ResourcePermissionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTopicV2.ResourcePermissionProperty.html)[]

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[]

- `topicId`: string
