interface PromptTemplateConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnPrompt.PromptTemplateConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnPrompt_PromptTemplateConfigurationProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnPrompt.PromptTemplateConfigurationProperty |
![]() | aws_cdk.aws_bedrock.CfnPrompt.PromptTemplateConfigurationProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnPrompt » PromptTemplateConfigurationProperty |
Contains the message for a prompt.
For more information, see Prompt management in Amazon Bedrock .
Example
// 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 promptTemplateConfigurationProperty: bedrock.CfnPrompt.PromptTemplateConfigurationProperty = {
text: {
inputVariables: [{
name: 'name',
}],
text: 'text',
textS3Location: {
bucket: 'bucket',
key: 'key',
// the properties below are optional
version: 'version',
},
},
};
Properties
Name | Type | Description |
---|---|---|
text | IResolvable | Text | Contains configurations for the text in a message for a prompt. |
text
Type:
IResolvable
|
Text
Contains configurations for the text in a message for a prompt.