Skip to content
v2.278.0

AIPromptTemplateConfigurationProperty ​

Struct External

A typed union that specifies the configuration for a prompt template based on its type.

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 aIPromptTemplateConfigurationProperty: wisdom.CfnAIPrompt.AIPromptTemplateConfigurationProperty = {
  textFullAiPromptEditTemplateConfiguration: {
    text: 'text',
  },
};
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

a_i_prompt_template_configuration_property = wisdom.CfnAIPrompt.AIPromptTemplateConfigurationProperty(
    text_full_ai_prompt_edit_template_configuration=wisdom.CfnAIPrompt.TextFullAIPromptEditTemplateConfigurationProperty(
        text="text"
    )
)
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.*;

AIPromptTemplateConfigurationProperty aIPromptTemplateConfigurationProperty = AIPromptTemplateConfigurationProperty.builder()
        .textFullAiPromptEditTemplateConfiguration(TextFullAIPromptEditTemplateConfigurationProperty.builder()
                .text("text")
                .build())
        .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 aIPromptTemplateConfigurationProperty = new AIPromptTemplateConfigurationProperty {
    TextFullAiPromptEditTemplateConfiguration = new TextFullAIPromptEditTemplateConfigurationProperty {
        Text = "text"
    }
};
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"

aIPromptTemplateConfigurationProperty := &AIPromptTemplateConfigurationProperty{
	TextFullAiPromptEditTemplateConfiguration: &TextFullAIPromptEditTemplateConfigurationProperty{
		Text: jsii.String("text"),
	},
}

Properties ​

textFullAiPromptEditTemplateConfigurationIResolvable | CfnAIPrompt.TextFullAIPromptEditTemplateConfigurationPropertytext_full_ai_prompt_edit_template_configurationtyping.Union[IResolvable, TextFullAIPromptEditTemplateConfigurationProperty]textFullAiPromptEditTemplateConfigurationIResolvableTextFullAiPromptEditTemplateConfigurationIResolvableTextFullAiPromptEditTemplateConfigurationinterface{} required #
The configuration for a prompt template that supports full textual prompt configuration using a YAML prompt.