interface FlowNodeInputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnFlowPropsMixin.FlowNodeInputProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnFlowPropsMixin_FlowNodeInputProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnFlowPropsMixin.FlowNodeInputProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnFlowPropsMixin.FlowNodeInputProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnFlowPropsMixin » FlowNodeInputProperty |
Contains configurations for an input in an Amazon Bedrock Flows node.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const flowNodeInputProperty: bedrock_mixins.CfnFlowPropsMixin.FlowNodeInputProperty = {
category: 'category',
expression: 'expression',
name: 'name',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| category? | string | Specifies how input data flows between iterations in a DoWhile loop. |
| expression? | string | An expression that formats the input for the node. |
| name? | string | Specifies a name for the input that you can reference. |
| type? | string | Specifies the data type of the input. |
category?
Type:
string
(optional)
Specifies how input data flows between iterations in a DoWhile loop.
LoopCondition- Controls whether the loop continues by evaluating condition expressions against the input data. Use this category to define the condition that determines if the loop should continue.ReturnValueToLoopStart- Defines data to pass back to the start of the loop's next iteration. Use this category for variables that you want to update for each loop iteration.ExitLoop- Defines the value that's available once the loop ends. Use this category to expose loop results to nodes outside the loop.
expression?
Type:
string
(optional)
An expression that formats the input for the node.
For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock .
name?
Type:
string
(optional)
Specifies a name for the input that you can reference.
type?
Type:
string
(optional)
Specifies the data type of the input.
If the input doesn't match this type at runtime, a validation error will be thrown.

.NET
Go
Java
Python
TypeScript