AIPromptReference Struct
A reference to a AIPrompt 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 aIPromptReference: interfaces_wisdom.AIPromptReference = {
aiPromptArn: 'aiPromptArn',
aiPromptId: 'aiPromptId',
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_prompt_reference = interfaces_wisdom.AIPromptReference(
ai_prompt_arn="aiPromptArn",
ai_prompt_id="aiPromptId",
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.*;
AIPromptReference aIPromptReference = AIPromptReference.builder()
.aiPromptArn("aiPromptArn")
.aiPromptId("aiPromptId")
.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 aIPromptReference = new AIPromptReference {
AiPromptArn = "aiPromptArn",
AiPromptId = "aiPromptId",
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"
aIPromptReference := &AIPromptReference{
AiPromptArn: jsii.String("aiPromptArn"),
AiPromptId: jsii.String("aiPromptId"),
AssistantId: jsii.String("assistantId"),
}
Properties
The ARN of the AIPrompt resource.
The AIPromptId of the AIPrompt resource.
The AssistantId of the AIPrompt resource.