Show / Hide Table of Contents

Class CfnPromptVersionPropsMixin.TextPromptTemplateConfigurationProperty

Contains configurations for a text prompt template.

Inheritance
object
CfnPromptVersionPropsMixin.TextPromptTemplateConfigurationProperty
Implements
CfnPromptVersionPropsMixin.ITextPromptTemplateConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPromptVersionPropsMixin.TextPromptTemplateConfigurationProperty : CfnPromptVersionPropsMixin.ITextPromptTemplateConfigurationProperty
Syntax (vb)
Public Class CfnPromptVersionPropsMixin.TextPromptTemplateConfigurationProperty Implements CfnPromptVersionPropsMixin.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.Mixins.Preview.AWS.Bedrock.Mixins;

             var textPromptTemplateConfigurationProperty = new TextPromptTemplateConfigurationProperty {
                 CachePoint = new CachePointBlockProperty {
                     Type = "type"
                 },
                 InputVariables = new [] { new PromptInputVariableProperty {
                     Name = "name"
                 } },
                 Text = "text"
             };

Synopsis

Constructors

TextPromptTemplateConfigurationProperty()

Contains configurations for a text prompt template.

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.

Constructors

TextPromptTemplateConfigurationProperty()

Contains configurations for a text prompt template.

public TextPromptTemplateConfigurationProperty()
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.Mixins.Preview.AWS.Bedrock.Mixins;

             var textPromptTemplateConfigurationProperty = new TextPromptTemplateConfigurationProperty {
                 CachePoint = new CachePointBlockProperty {
                     Type = "type"
                 },
                 InputVariables = new [] { new PromptInputVariableProperty {
                     Name = "name"
                 } },
                 Text = "text"
             };

Properties

CachePoint

A cache checkpoint within a template configuration.

public object? CachePoint { get; set; }
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 CfnPromptVersionPropsMixin.ICachePointBlockProperty

InputVariables

An array of the variables in the prompt template.

public object? InputVariables { get; set; }
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 CfnPromptVersionPropsMixin.IPromptInputVariableProperty)[]

Text

The message for the prompt.

public string? Text { get; set; }
Property Value

string

Remarks

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

Implements

CfnPromptVersionPropsMixin.ITextPromptTemplateConfigurationProperty
Back to top Generated by DocFX