# KnowledgeBaseReference

A reference to a KnowledgeBase resource.

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 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 knowledgeBaseReference: interfaces_quicksight.KnowledgeBaseReference = {
  awsAccountId: 'awsAccountId',
  knowledgeBaseArn: 'knowledgeBaseArn',
  knowledgeBaseId: 'knowledgeBaseId',
};
```

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

knowledge_base_reference = interfaces_quicksight.KnowledgeBaseReference(
    aws_account_id="awsAccountId",
    knowledge_base_arn="knowledgeBaseArn",
    knowledge_base_id="knowledgeBaseId"
)
```

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

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

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"

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

## Properties

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

- `knowledgeBaseArn`: string (required) — The ARN of the KnowledgeBase resource.

- `knowledgeBaseId`: string (required) — The KnowledgeBaseId of the KnowledgeBase resource.
