# TextPromptTemplateConfigurationProperty

Contains configurations for a text prompt template.

To include a variable, enclose a word in double curly braces as in `{{variable}}` .

- Source: Generated code
- Type last changed: v2.180.0 · 21 Feb 2025

## 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

- `cachePoint`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPrompt.CachePointBlockProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnPrompt.CachePointBlockProperty.html) — A cache checkpoint within a template configuration.

- `inputVariables`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPrompt.PromptInputVariableProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnPrompt.PromptInputVariableProperty.html)[] — An array of the variables in the prompt template.

- `text`: string — The message for the prompt.

- `textS3Location`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPrompt.TextS3LocationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnPrompt.TextS3LocationProperty.html) — The Amazon S3 location of the prompt text.
