Skip to content
v2.278.0

AIPromptReference Struct ​

A reference to a AIPrompt 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 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 ​

aiPromptArnstringai_prompt_arnstraiPromptArnStringAiPromptArnstringAiPromptArn*string required #
The ARN of the AIPrompt resource.
aiPromptIdstringai_prompt_idstraiPromptIdStringAiPromptIdstringAiPromptId*string required #
The AIPromptId of the AIPrompt resource.
assistantIdstringassistant_idstrassistantIdStringAssistantIdstringAssistantId*string required #
The AssistantId of the AIPrompt resource.