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.CfnPrompt.TextPromptTemplateConfigurationProperty = {
cachePoint: {
type: 'type',
},
inputVariables: [{
name: 'name',
}],
text: 'text',
textS3Location: {
bucket: 'bucket',
key: 'key',
// the properties below are optional
version: 'version',
},
};
Properties
cachePointIResolvable | CfnPrompt.CachePointBlockPropertycache_pointtyping.Union[IResolvable, CachePointBlockProperty]cachePointIResolvableCachePointIResolvableCachePointinterface{}#A cache checkpoint within a template configuration.
inputVariablesIResolvable | IResolvable | CfnPrompt.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.
textS3LocationIResolvable | CfnPrompt.TextS3LocationPropertytext_s3_locationtyping.Union[IResolvable, TextS3LocationProperty]textS3LocationIResolvableTextS3LocationIResolvableTextS3Locationinterface{}#The Amazon S3 location of the prompt text.