# 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.154.0 · 22 Aug 2024

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

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

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