Show / Hide Table of Contents

Interface CfnPromptVersion.ITextPromptTemplateConfigurationProperty

Contains configurations for a text prompt template.

Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnPromptVersion.ITextPromptTemplateConfigurationProperty
Syntax (vb)
Public Interface CfnPromptVersion.ITextPromptTemplateConfigurationProperty
Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-textprompttemplateconfiguration.html

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.AWS.Bedrock;

             var textPromptTemplateConfigurationProperty = new TextPromptTemplateConfigurationProperty {
                 Text = "text",

                 // the properties below are optional
                 CachePoint = new CachePointBlockProperty {
                     Type = "type"
                 },
                 InputVariables = new [] { new PromptInputVariableProperty {
                     Name = "name"
                 } }
             };

Synopsis

Properties

CachePoint

A cache checkpoint within a template configuration.

InputVariables

An array of the variables in the prompt template.

Text

The message for the prompt.

Properties

CachePoint

A cache checkpoint within a template configuration.

object? CachePoint { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-textprompttemplateconfiguration.html#cfn-bedrock-promptversion-textprompttemplateconfiguration-cachepoint

Type union: either IResolvable or CfnPromptVersion.ICachePointBlockProperty

InputVariables

An array of the variables in the prompt template.

object? InputVariables { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-textprompttemplateconfiguration.html#cfn-bedrock-promptversion-textprompttemplateconfiguration-inputvariables

Type union: either IResolvable or (either IResolvable or CfnPromptVersion.IPromptInputVariableProperty)[]

Text

The message for the prompt.

string Text { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-textprompttemplateconfiguration.html#cfn-bedrock-promptversion-textprompttemplateconfiguration-text

Back to top Generated by DocFX