Skip to content
v2.277.0

KnowledgeBaseReference Struct ​

A reference to a KnowledgeBase 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 knowledgeBaseReference: interfaces_quicksight.KnowledgeBaseReference = {
  awsAccountId: 'awsAccountId',
  knowledgeBaseArn: 'knowledgeBaseArn',
  knowledgeBaseId: 'knowledgeBaseId',
};
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

knowledge_base_reference = interfaces_quicksight.KnowledgeBaseReference(
    aws_account_id="awsAccountId",
    knowledge_base_arn="knowledgeBaseArn",
    knowledge_base_id="knowledgeBaseId"
)
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.*;

KnowledgeBaseReference knowledgeBaseReference = KnowledgeBaseReference.builder()
        .awsAccountId("awsAccountId")
        .knowledgeBaseArn("knowledgeBaseArn")
        .knowledgeBaseId("knowledgeBaseId")
        .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 knowledgeBaseReference = new KnowledgeBaseReference {
    AwsAccountId = "awsAccountId",
    KnowledgeBaseArn = "knowledgeBaseArn",
    KnowledgeBaseId = "knowledgeBaseId"
};
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"

knowledgeBaseReference := &KnowledgeBaseReference{
	AwsAccountId: jsii.String("awsAccountId"),
	KnowledgeBaseArn: jsii.String("knowledgeBaseArn"),
	KnowledgeBaseId: jsii.String("knowledgeBaseId"),
}

Properties ​

awsAccountIdstringaws_account_idstrawsAccountIdStringAwsAccountIdstringAwsAccountId*stringrequired#
The AwsAccountId of the KnowledgeBase resource.
knowledgeBaseArnstringknowledge_base_arnstrknowledgeBaseArnStringKnowledgeBaseArnstringKnowledgeBaseArn*stringrequired#
The ARN of the KnowledgeBase resource.
knowledgeBaseIdstringknowledge_base_idstrknowledgeBaseIdStringKnowledgeBaseIdstringKnowledgeBaseId*stringrequired#
The KnowledgeBaseId of the KnowledgeBase resource.