CfnAIPromptVersionProps Struct
Properties for defining a CfnAIPromptVersion.
| 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 wisdom } from 'aws-cdk-lib';
const cfnAIPromptVersionProps: wisdom.CfnAIPromptVersionProps = {
aiPromptId: 'aiPromptId',
assistantId: 'assistantId',
// the properties below are optional
modifiedTimeSeconds: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wisdom as wisdom
cfn_ai_prompt_version_props = wisdom.CfnAIPromptVersionProps(
ai_prompt_id="aiPromptId",
assistant_id="assistantId",
# the properties below are optional
modified_time_seconds=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;
CfnAIPromptVersionProps cfnAIPromptVersionProps = CfnAIPromptVersionProps.builder()
.aiPromptId("aiPromptId")
.assistantId("assistantId")
// the properties below are optional
.modifiedTimeSeconds(123)
.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.AWS.Wisdom;
var cfnAIPromptVersionProps = new CfnAIPromptVersionProps {
AiPromptId = "aiPromptId",
AssistantId = "assistantId",
// the properties below are optional
ModifiedTimeSeconds = 123
};
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"
cfnAIPromptVersionProps := &CfnAIPromptVersionProps{
AiPromptId: jsii.String("aiPromptId"),
AssistantId: jsii.String("assistantId"),
// the properties below are optional
ModifiedTimeSeconds: jsii.Number(123),
}
Properties
The identifier of the Amazon Q in Connect AI prompt.
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.