Skip to content
v2.278.0

AIAgentVersionReference Struct ​

A reference to a AIAgentVersion 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 aIAgentVersionReference: interfaces_wisdom.AIAgentVersionReference = {
  aiAgentId: 'aiAgentId',
  assistantId: 'assistantId',
  versionNumber: 'versionNumber',
};
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_version_reference = interfaces_wisdom.AIAgentVersionReference(
    ai_agent_id="aiAgentId",
    assistant_id="assistantId",
    version_number="versionNumber"
)
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.*;

AIAgentVersionReference aIAgentVersionReference = AIAgentVersionReference.builder()
        .aiAgentId("aiAgentId")
        .assistantId("assistantId")
        .versionNumber("versionNumber")
        .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 aIAgentVersionReference = new AIAgentVersionReference {
    AiAgentId = "aiAgentId",
    AssistantId = "assistantId",
    VersionNumber = "versionNumber"
};
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"

aIAgentVersionReference := &AIAgentVersionReference{
	AiAgentId: jsii.String("aiAgentId"),
	AssistantId: jsii.String("assistantId"),
	VersionNumber: jsii.String("versionNumber"),
}

Properties ​

aiAgentIdstringai_agent_idstraiAgentIdStringAiAgentIdstringAiAgentId*string required #
The AIAgentId of the AIAgentVersion resource.
assistantIdstringassistant_idstrassistantIdStringAssistantIdstringAssistantId*string required #
The AssistantId of the AIAgentVersion resource.
versionNumberstringversion_numberstrversionNumberStringVersionNumberstringVersionNumber*string required #
The VersionNumber of the AIAgentVersion resource.