interface TextTemplateConfigurationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Alpha.TextTemplateConfigurationProps |
Go | github.com/aws/aws-cdk-go/awsbedrockalpha/v2#TextTemplateConfigurationProps |
Java | software.amazon.awscdk.services.bedrock.alpha.TextTemplateConfigurationProps |
Python | aws_cdk.aws_bedrock_alpha.TextTemplateConfigurationProps |
TypeScript (source) | @aws-cdk/aws-bedrock-alpha ยป TextTemplateConfigurationProps |
Properties for creating a text template configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_alpha from '@aws-cdk/aws-bedrock-alpha';
const textTemplateConfigurationProps: bedrock_alpha.TextTemplateConfigurationProps = {
text: 'text',
// the properties below are optional
inputVariables: ['inputVariables'],
};
Properties
| Name | Type | Description |
|---|---|---|
| text | string | The text content of the template. |
| input | string[] | The input variables for the template. |
text
Type:
string
The text content of the template.
inputVariables?
Type:
string[]
(optional, default: No input variables)
The input variables for the template.

.NET
Go
Java
Python
TypeScript (