# AIPromptReference

A reference to a AIPrompt resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as interfaces_wisdom } from 'aws-cdk-lib/interfaces';
const aIPromptReference: interfaces_wisdom.AIPromptReference = {
  aiPromptArn: 'aiPromptArn',
  aiPromptId: 'aiPromptId',
  assistantId: 'assistantId',
};
```

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_wisdom as interfaces_wisdom

a_i_prompt_reference = interfaces_wisdom.AIPromptReference(
    ai_prompt_arn="aiPromptArn",
    ai_prompt_id="aiPromptId",
    assistant_id="assistantId"
)
```

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

AIPromptReference aIPromptReference = AIPromptReference.builder()
        .aiPromptArn("aiPromptArn")
        .aiPromptId("aiPromptId")
        .assistantId("assistantId")
        .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.Wisdom;

var aIPromptReference = new AIPromptReference {
    AiPromptArn = "aiPromptArn",
    AiPromptId = "aiPromptId",
    AssistantId = "assistantId"
};
```

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"

aIPromptReference := &AIPromptReference{
	AiPromptArn: jsii.String("aiPromptArn"),
	AiPromptId: jsii.String("aiPromptId"),
	AssistantId: jsii.String("assistantId"),
}
```

## Properties

- `aiPromptArn`: string (required) — The ARN of the AIPrompt resource.

- `aiPromptId`: string (required) — The AIPromptId of the AIPrompt resource.

- `assistantId`: string (required) — The AssistantId of the AIPrompt resource.
