Skip to content
v2.278.0

TopicV2Reference Struct ​

A reference to a TopicV2 resource.

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

awsAccountIdstringaws_account_idstrawsAccountIdStringAwsAccountIdstringAwsAccountId*string required #
The AwsAccountId of the TopicV2 resource.
topicIdstringtopic_idstrtopicIdStringTopicIdstringTopicId*string required #
The TopicId of the TopicV2 resource.
topicV2Arnstringtopic_v2_arnstrtopicV2ArnStringTopicV2ArnstringTopicV2Arn*string required #
The ARN of the TopicV2 resource.