Show / Hide Table of Contents

Interface CfnFlowPropsMixin.IPromptFlowNodeSourceConfigurationProperty

Contains configurations for a prompt and whether it is from Prompt management or defined inline.

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnFlowPropsMixin.IPromptFlowNodeSourceConfigurationProperty
Syntax (vb)
Public Interface CfnFlowPropsMixin.IPromptFlowNodeSourceConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodesourceconfiguration.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.CfnPropertyMixins.AWS.Bedrock;

             var promptFlowNodeSourceConfigurationProperty = new PromptFlowNodeSourceConfigurationProperty {
                 Inline = new PromptFlowNodeInlineConfigurationProperty {
                     InferenceConfiguration = new PromptInferenceConfigurationProperty {
                         Text = new PromptModelInferenceConfigurationProperty {
                             MaxTokens = 123,
                             StopSequences = new [] { "stopSequences" },
                             Temperature = 123,
                             TopP = 123
                         }
                     },
                     ModelId = "modelId",
                     TemplateConfiguration = new PromptTemplateConfigurationProperty {
                         Text = new TextPromptTemplateConfigurationProperty {
                             InputVariables = new [] { new PromptInputVariableProperty {
                                 Name = "name"
                             } },
                             Text = "text"
                         }
                     },
                     TemplateType = "templateType"
                 },
                 Resource = new PromptFlowNodeResourceConfigurationProperty {
                     PromptArn = "promptArn"
                 }
             };

Synopsis

Properties

Inline

Contains configurations for a prompt that is defined inline.

Resource

Contains configurations for a prompt from Prompt management.

Properties

Inline

Contains configurations for a prompt that is defined inline.

object? Inline { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodesourceconfiguration.html#cfn-bedrock-flow-promptflownodesourceconfiguration-inline

Type union: either IResolvable or CfnFlowPropsMixin.IPromptFlowNodeInlineConfigurationProperty

Resource

Contains configurations for a prompt from Prompt management.

object? Resource { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodesourceconfiguration.html#cfn-bedrock-flow-promptflownodesourceconfiguration-resource

Type union: either IResolvable or CfnFlowPropsMixin.IPromptFlowNodeResourceConfigurationProperty

Back to top Generated by DocFX