TextPromptTemplateConfigurationProperty Struct
Contains configurations for a text prompt template.
To include a variable, enclose a word in double curly braces as in .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const textPromptTemplateConfigurationProperty: bedrock.CfnFlow.TextPromptTemplateConfigurationProperty = {
text: 'text',
// the properties below are optional
inputVariables: [{
name: 'name',
}],
};
Properties
inputVariablesIResolvable | IResolvable | CfnFlow.PromptInputVariableProperty[]input_variablestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, PromptInputVariableProperty]]]inputVariablesIResolvableInputVariablesIResolvableInputVariablesinterface{}#An array of the variables in the prompt template.
The message for the prompt.