# TopicV2Reference

A reference to a TopicV2 resource.

- 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 interfaces_quicksight } from 'aws-cdk-lib/interfaces';
const topicV2Reference: interfaces_quicksight.TopicV2Reference = {
  awsAccountId: 'awsAccountId',
  topicId: 'topicId',
  topicV2Arn: 'topicV2Arn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_quicksight as interfaces_quicksight

topic_v2_reference = interfaces_quicksight.TopicV2Reference(
    aws_account_id="awsAccountId",
    topic_id="topicId",
    topic_v2_arn="topicV2Arn"
)
```

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.interfaces.quicksight.*;

TopicV2Reference topicV2Reference = TopicV2Reference.builder()
        .awsAccountId("awsAccountId")
        .topicId("topicId")
        .topicV2Arn("topicV2Arn")
        .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.Interfaces.QuickSight;

var topicV2Reference = new TopicV2Reference {
    AwsAccountId = "awsAccountId",
    TopicId = "topicId",
    TopicV2Arn = "topicV2Arn"
};
```

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"

topicV2Reference := &TopicV2Reference{
	AwsAccountId: jsii.String("awsAccountId"),
	TopicId: jsii.String("topicId"),
	TopicV2Arn: jsii.String("topicV2Arn"),
}
```

## Properties

- `awsAccountId`: string (required) — The AwsAccountId of the TopicV2 resource.

- `topicId`: string (required) — The TopicId of the TopicV2 resource.

- `topicV2Arn`: string (required) — The ARN of the TopicV2 resource.
