Class CfnFlowPropsMixin.PromptTemplateConfigurationProperty
Contains the message for a prompt.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnFlowPropsMixin.PromptTemplateConfigurationProperty : CfnFlowPropsMixin.IPromptTemplateConfigurationProperty
Syntax (vb)
Public Class CfnFlowPropsMixin.PromptTemplateConfigurationProperty Implements CfnFlowPropsMixin.IPromptTemplateConfigurationProperty
Remarks
For more information, see Construct and store reusable prompts with Prompt management in Amazon Bedrock .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;
var promptTemplateConfigurationProperty = new PromptTemplateConfigurationProperty {
Text = new TextPromptTemplateConfigurationProperty {
InputVariables = new [] { new PromptInputVariableProperty {
Name = "name"
} },
Text = "text"
}
};
Synopsis
Constructors
| PromptTemplateConfigurationProperty() | Contains the message for a prompt. |
Properties
| Text | Contains configurations for the text in a message for a prompt. |
Constructors
PromptTemplateConfigurationProperty()
Contains the message for a prompt.
public PromptTemplateConfigurationProperty()
Remarks
For more information, see Construct and store reusable prompts with Prompt management in Amazon Bedrock .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;
var promptTemplateConfigurationProperty = new PromptTemplateConfigurationProperty {
Text = new TextPromptTemplateConfigurationProperty {
InputVariables = new [] { new PromptInputVariableProperty {
Name = "name"
} },
Text = "text"
}
};
Properties
Text
Contains configurations for the text in a message for a prompt.
public object? Text { get; set; }