Skip to content
v2.278.0

AIAgentReference Struct ​

A reference to a AIAgent resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

aiAgentArnstringai_agent_arnstraiAgentArnStringAiAgentArnstringAiAgentArn*string required #
The ARN of the AIAgent resource.
aiAgentIdstringai_agent_idstraiAgentIdStringAiAgentIdstringAiAgentId*string required #
The AIAgentId of the AIAgent resource.
assistantIdstringassistant_idstrassistantIdStringAssistantIdstringAssistantId*string required #
The AssistantId of the AIAgent resource.