Skip to content
v2.275.0

CfnAIPromptVersionProps Struct ​

Properties for defining a CfnAIPromptVersion.

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 wisdom } from 'aws-cdk-lib';
const cfnAIPromptVersionProps: wisdom.CfnAIPromptVersionProps = {
  aiPromptId: 'aiPromptId',
  assistantId: 'assistantId',

  // the properties below are optional
  modifiedTimeSeconds: 123,
};

Properties ​

aiPromptIdstringai_prompt_idstraiPromptIdStringAiPromptIdstringAiPromptId*stringrequired#
The identifier of the Amazon Q in Connect AI prompt.
assistantIdstringassistant_idstrassistantIdStringAssistantIdstringAssistantId*stringrequired#
The identifier of the Amazon Q in Connect assistant.

Can be either the ID or the ARN. URLs cannot contain the ARN.

modifiedTimeSecondsoptionalnumbermodified_time_secondsoptionalint | floatmodifiedTimeSecondsoptionalNumberModifiedTimeSecondsoptionaldoubleModifiedTimeSecondsoptional*float64#
The time the AI Prompt version was last modified in seconds.