# AIAgentReference

A reference to a AIAgent 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 aIAgentReference: interfaces_wisdom.AIAgentReference = {
  aiAgentArn: 'aiAgentArn',
  aiAgentId: 'aiAgentId',
  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_agent_reference = interfaces_wisdom.AIAgentReference(
    ai_agent_arn="aiAgentArn",
    ai_agent_id="aiAgentId",
    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.*;

AIAgentReference aIAgentReference = AIAgentReference.builder()
        .aiAgentArn("aiAgentArn")
        .aiAgentId("aiAgentId")
        .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 aIAgentReference = new AIAgentReference {
    AiAgentArn = "aiAgentArn",
    AiAgentId = "aiAgentId",
    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"

aIAgentReference := &AIAgentReference{
	AiAgentArn: jsii.String("aiAgentArn"),
	AiAgentId: jsii.String("aiAgentId"),
	AssistantId: jsii.String("assistantId"),
}
```

## Properties

- `aiAgentArn`: string (required) — The ARN of the AIAgent resource.

- `aiAgentId`: string (required) — The AIAgentId of the AIAgent resource.

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