AIPromptVersionReference Struct
A reference to a AIPromptVersion resource.
| Source | |
|---|---|
| Type last changed |
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 aIPromptVersionReference: interfaces_wisdom.AIPromptVersionReference = {
aiPromptId: 'aiPromptId',
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_prompt_version_reference = interfaces_wisdom.AIPromptVersionReference(
ai_prompt_id="aiPromptId",
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.*;
AIPromptVersionReference aIPromptVersionReference = AIPromptVersionReference.builder()
.aiPromptId("aiPromptId")
.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 aIPromptVersionReference = new AIPromptVersionReference {
AiPromptId = "aiPromptId",
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"
aIPromptVersionReference := &AIPromptVersionReference{
AiPromptId: jsii.String("aiPromptId"),
AssistantId: jsii.String("assistantId"),
VersionNumber: jsii.String("versionNumber"),
}
Properties
The AIPromptId of the AIPromptVersion resource.
The AssistantId of the AIPromptVersion resource.
versionNumberstringversion_numberstrversionNumberStringVersionNumberstringVersionNumber*string required #The VersionNumber of the AIPromptVersion resource.