

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Bedrock::FlowVersion
<a name="aws-resource-bedrock-flowversion"></a>

Creates a version of the flow that you can deploy. For more information, see [Deploy a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html) in the Amazon Bedrock User Guide.

## Syntax
<a name="aws-resource-bedrock-flowversion-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-bedrock-flowversion-syntax.json"></a>

```
{
  "Type" : "AWS::Bedrock::FlowVersion",
  "Properties" : {
      "[Description](#cfn-bedrock-flowversion-description)" : String,
      "[FlowArn](#cfn-bedrock-flowversion-flowarn)" : String
    }
}
```

### YAML
<a name="aws-resource-bedrock-flowversion-syntax.yaml"></a>

```
Type: AWS::Bedrock::FlowVersion
Properties:
  [Description](#cfn-bedrock-flowversion-description): String
  [FlowArn](#cfn-bedrock-flowversion-flowarn): String
```

## Properties
<a name="aws-resource-bedrock-flowversion-properties"></a>

`Description`  <a name="cfn-bedrock-flowversion-description"></a>
The description of the flow version.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `200`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`FlowArn`  <a name="cfn-bedrock-flowversion-flowarn"></a>
The Amazon Resource Name (ARN) of the flow that the version belongs to.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10}$`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

## Return values
<a name="aws-resource-bedrock-flowversion-return-values"></a>

### Ref
<a name="aws-resource-bedrock-flowversion-return-values-ref"></a>

When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the Amazon Resource Number (ARN) of the flow the version of the flow, separated by a pipe (`|`).

For example, `{ "Ref": "myFlowVersion" }` could return the value `"arn:aws:bedrock:us-east-1:123456789012:flow/FLOW12345|1"`.

For more information about using the `Ref` function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-bedrock-flowversion-return-values-fn--getatt"></a>

#### 
<a name="aws-resource-bedrock-flowversion-return-values-fn--getatt-fn--getatt"></a>

`CreatedAt`  <a name="CreatedAt-fn::getatt"></a>
The time at the version was created.

`CustomerEncryptionKeyArn`  <a name="CustomerEncryptionKeyArn-fn::getatt"></a>
The Amazon Resource Name (ARN) of the KMS key that the flow version is encrypted with.

`ExecutionRoleArn`  <a name="ExecutionRoleArn-fn::getatt"></a>
The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see [Create a service row for flows](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide.

`FlowId`  <a name="FlowId-fn::getatt"></a>
The unique identifier of the flow.

`Name`  <a name="Name-fn::getatt"></a>
The name of the flow.

`Status`  <a name="Status-fn::getatt"></a>
The status of the flow.

`Version`  <a name="Version-fn::getatt"></a>
The version of the flow.

# AWS::Bedrock::FlowVersion AgentFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-agentflownodeconfiguration"></a>

Defines an agent node in your flow. You specify the agent to invoke at this point in the flow. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.

## Syntax
<a name="aws-properties-bedrock-flowversion-agentflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-agentflownodeconfiguration-syntax.json"></a>

```
{
  "[AgentAliasArn](#cfn-bedrock-flowversion-agentflownodeconfiguration-agentaliasarn)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-agentflownodeconfiguration-syntax.yaml"></a>

```
  [AgentAliasArn](#cfn-bedrock-flowversion-agentflownodeconfiguration-agentaliasarn): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-agentflownodeconfiguration-properties"></a>

`AgentAliasArn`  <a name="cfn-bedrock-flowversion-agentflownodeconfiguration-agentaliasarn"></a>
The Amazon Resource Name (ARN) of the alias of the agent to invoke.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion ConditionFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-conditionflownodeconfiguration"></a>

Defines a condition node in your flow. You can specify conditions that determine which node comes next in the flow. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.

## Syntax
<a name="aws-properties-bedrock-flowversion-conditionflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-conditionflownodeconfiguration-syntax.json"></a>

```
{
  "[Conditions](#cfn-bedrock-flowversion-conditionflownodeconfiguration-conditions)" : [ FlowCondition, ... ]
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-conditionflownodeconfiguration-syntax.yaml"></a>

```
  [Conditions](#cfn-bedrock-flowversion-conditionflownodeconfiguration-conditions): 
    - FlowCondition
```

## Properties
<a name="aws-properties-bedrock-flowversion-conditionflownodeconfiguration-properties"></a>

`Conditions`  <a name="cfn-bedrock-flowversion-conditionflownodeconfiguration-conditions"></a>
An array of conditions. Each member contains the name of a condition and an expression that defines the condition.  
*Required*: Yes  
*Type*: Array of [FlowCondition](aws-properties-bedrock-flowversion-flowcondition.md)  
*Minimum*: `1`  
*Maximum*: `5`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FieldForReranking
<a name="aws-properties-bedrock-flowversion-fieldforreranking"></a>

Specifies a field to be used during the reranking process in a Knowledge Base vector search. This structure identifies metadata fields that should be considered when reordering search results to improve relevance.

## Syntax
<a name="aws-properties-bedrock-flowversion-fieldforreranking-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-fieldforreranking-syntax.json"></a>

```
{
  "[FieldName](#cfn-bedrock-flowversion-fieldforreranking-fieldname)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-fieldforreranking-syntax.yaml"></a>

```
  [FieldName](#cfn-bedrock-flowversion-fieldforreranking-fieldname): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-fieldforreranking-properties"></a>

`FieldName`  <a name="cfn-bedrock-flowversion-fieldforreranking-fieldname"></a>
The name of the metadata field to be used during the reranking process.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `2000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowCondition
<a name="aws-properties-bedrock-flowversion-flowcondition"></a>

Defines a condition in the condition node.

## Syntax
<a name="aws-properties-bedrock-flowversion-flowcondition-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flowcondition-syntax.json"></a>

```
{
  "[Expression](#cfn-bedrock-flowversion-flowcondition-expression)" : String,
  "[Name](#cfn-bedrock-flowversion-flowcondition-name)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flowcondition-syntax.yaml"></a>

```
  [Expression](#cfn-bedrock-flowversion-flowcondition-expression): String
  [Name](#cfn-bedrock-flowversion-flowcondition-name): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-flowcondition-properties"></a>

`Expression`  <a name="cfn-bedrock-flowversion-flowcondition-expression"></a>
Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in [Node types in prompt flows](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html#flows-nodes).  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-bedrock-flowversion-flowcondition-name"></a>
A name for the condition that you can reference.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowConditionalConnectionConfiguration
<a name="aws-properties-bedrock-flowversion-flowconditionalconnectionconfiguration"></a>

The configuration of a connection between a condition node and another node.

## Syntax
<a name="aws-properties-bedrock-flowversion-flowconditionalconnectionconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flowconditionalconnectionconfiguration-syntax.json"></a>

```
{
  "[Condition](#cfn-bedrock-flowversion-flowconditionalconnectionconfiguration-condition)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flowconditionalconnectionconfiguration-syntax.yaml"></a>

```
  [Condition](#cfn-bedrock-flowversion-flowconditionalconnectionconfiguration-condition): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-flowconditionalconnectionconfiguration-properties"></a>

`Condition`  <a name="cfn-bedrock-flowversion-flowconditionalconnectionconfiguration-condition"></a>
The condition that triggers this connection. For more information about how to write conditions, see the **Condition** node type in the [Node types](https://docs.aws.amazon.com/bedrock/latest/userguide/node-types.html) topic in the Amazon Bedrock User Guide.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowConnection
<a name="aws-properties-bedrock-flowversion-flowconnection"></a>

Contains information about a connection between two nodes in the flow.

## Syntax
<a name="aws-properties-bedrock-flowversion-flowconnection-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flowconnection-syntax.json"></a>

```
{
  "[Configuration](#cfn-bedrock-flowversion-flowconnection-configuration)" : FlowConnectionConfiguration,
  "[Name](#cfn-bedrock-flowversion-flowconnection-name)" : String,
  "[Source](#cfn-bedrock-flowversion-flowconnection-source)" : String,
  "[Target](#cfn-bedrock-flowversion-flowconnection-target)" : String,
  "[Type](#cfn-bedrock-flowversion-flowconnection-type)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flowconnection-syntax.yaml"></a>

```
  [Configuration](#cfn-bedrock-flowversion-flowconnection-configuration): 
    FlowConnectionConfiguration
  [Name](#cfn-bedrock-flowversion-flowconnection-name): String
  [Source](#cfn-bedrock-flowversion-flowconnection-source): String
  [Target](#cfn-bedrock-flowversion-flowconnection-target): String
  [Type](#cfn-bedrock-flowversion-flowconnection-type): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-flowconnection-properties"></a>

`Configuration`  <a name="cfn-bedrock-flowversion-flowconnection-configuration"></a>
The configuration of the connection.  
*Required*: No  
*Type*: [FlowConnectionConfiguration](aws-properties-bedrock-flowversion-flowconnectionconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-bedrock-flowversion-flowconnection-name"></a>
A name for the connection that you can reference.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,100}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Source`  <a name="cfn-bedrock-flowversion-flowconnection-source"></a>
The node that the connection starts at.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Target`  <a name="cfn-bedrock-flowversion-flowconnection-target"></a>
The node that the connection ends at.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-bedrock-flowversion-flowconnection-type"></a>
Whether the source node that the connection begins from is a condition node (`Conditional`) or not (`Data`).  
*Required*: Yes  
*Type*: String  
*Allowed values*: `Data | Conditional`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowConnectionConfiguration
<a name="aws-properties-bedrock-flowversion-flowconnectionconfiguration"></a>

The configuration of the connection.

## Syntax
<a name="aws-properties-bedrock-flowversion-flowconnectionconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flowconnectionconfiguration-syntax.json"></a>

```
{
  "[Conditional](#cfn-bedrock-flowversion-flowconnectionconfiguration-conditional)" : FlowConditionalConnectionConfiguration,
  "[Data](#cfn-bedrock-flowversion-flowconnectionconfiguration-data)" : FlowDataConnectionConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flowconnectionconfiguration-syntax.yaml"></a>

```
  [Conditional](#cfn-bedrock-flowversion-flowconnectionconfiguration-conditional): 
    FlowConditionalConnectionConfiguration
  [Data](#cfn-bedrock-flowversion-flowconnectionconfiguration-data): 
    FlowDataConnectionConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-flowconnectionconfiguration-properties"></a>

`Conditional`  <a name="cfn-bedrock-flowversion-flowconnectionconfiguration-conditional"></a>
The configuration of a connection originating from a Condition node.  
*Required*: No  
*Type*: [FlowConditionalConnectionConfiguration](aws-properties-bedrock-flowversion-flowconditionalconnectionconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Data`  <a name="cfn-bedrock-flowversion-flowconnectionconfiguration-data"></a>
The configuration of a connection originating from a node that isn't a Condition node.  
*Required*: No  
*Type*: [FlowDataConnectionConfiguration](aws-properties-bedrock-flowversion-flowdataconnectionconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowDataConnectionConfiguration
<a name="aws-properties-bedrock-flowversion-flowdataconnectionconfiguration"></a>

The configuration of a connection originating from a node that isn't a Condition node.

## Syntax
<a name="aws-properties-bedrock-flowversion-flowdataconnectionconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flowdataconnectionconfiguration-syntax.json"></a>

```
{
  "[SourceOutput](#cfn-bedrock-flowversion-flowdataconnectionconfiguration-sourceoutput)" : String,
  "[TargetInput](#cfn-bedrock-flowversion-flowdataconnectionconfiguration-targetinput)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flowdataconnectionconfiguration-syntax.yaml"></a>

```
  [SourceOutput](#cfn-bedrock-flowversion-flowdataconnectionconfiguration-sourceoutput): String
  [TargetInput](#cfn-bedrock-flowversion-flowdataconnectionconfiguration-targetinput): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-flowdataconnectionconfiguration-properties"></a>

`SourceOutput`  <a name="cfn-bedrock-flowversion-flowdataconnectionconfiguration-sourceoutput"></a>
The name of the output in the source node that the connection begins from.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TargetInput`  <a name="cfn-bedrock-flowversion-flowdataconnectionconfiguration-targetinput"></a>
The name of the input in the target node that the connection ends at.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowDefinition
<a name="aws-properties-bedrock-flowversion-flowdefinition"></a>

The definition of the nodes and connections between nodes in the flow.

## Syntax
<a name="aws-properties-bedrock-flowversion-flowdefinition-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flowdefinition-syntax.json"></a>

```
{
  "[Connections](#cfn-bedrock-flowversion-flowdefinition-connections)" : [ FlowConnection, ... ],
  "[Nodes](#cfn-bedrock-flowversion-flowdefinition-nodes)" : [ FlowNode, ... ]
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flowdefinition-syntax.yaml"></a>

```
  [Connections](#cfn-bedrock-flowversion-flowdefinition-connections): 
    - FlowConnection
  [Nodes](#cfn-bedrock-flowversion-flowdefinition-nodes): 
    - FlowNode
```

## Properties
<a name="aws-properties-bedrock-flowversion-flowdefinition-properties"></a>

`Connections`  <a name="cfn-bedrock-flowversion-flowdefinition-connections"></a>
An array of connection definitions in the flow.  
*Required*: No  
*Type*: Array of [FlowConnection](aws-properties-bedrock-flowversion-flowconnection.md)  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Nodes`  <a name="cfn-bedrock-flowversion-flowdefinition-nodes"></a>
An array of node definitions in the flow.  
*Required*: No  
*Type*: Array of [FlowNode](aws-properties-bedrock-flowversion-flownode.md)  
*Maximum*: `40`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowNode
<a name="aws-properties-bedrock-flowversion-flownode"></a>

Contains configurations about a node in the flow.

## Syntax
<a name="aws-properties-bedrock-flowversion-flownode-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flownode-syntax.json"></a>

```
{
  "[Configuration](#cfn-bedrock-flowversion-flownode-configuration)" : FlowNodeConfiguration,
  "[Inputs](#cfn-bedrock-flowversion-flownode-inputs)" : [ FlowNodeInput, ... ],
  "[Name](#cfn-bedrock-flowversion-flownode-name)" : String,
  "[Outputs](#cfn-bedrock-flowversion-flownode-outputs)" : [ FlowNodeOutput, ... ],
  "[Type](#cfn-bedrock-flowversion-flownode-type)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flownode-syntax.yaml"></a>

```
  [Configuration](#cfn-bedrock-flowversion-flownode-configuration): 
    FlowNodeConfiguration
  [Inputs](#cfn-bedrock-flowversion-flownode-inputs): 
    - FlowNodeInput
  [Name](#cfn-bedrock-flowversion-flownode-name): String
  [Outputs](#cfn-bedrock-flowversion-flownode-outputs): 
    - FlowNodeOutput
  [Type](#cfn-bedrock-flowversion-flownode-type): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-flownode-properties"></a>

`Configuration`  <a name="cfn-bedrock-flowversion-flownode-configuration"></a>
Contains configurations for the node.  
*Required*: No  
*Type*: [FlowNodeConfiguration](aws-properties-bedrock-flowversion-flownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Inputs`  <a name="cfn-bedrock-flowversion-flownode-inputs"></a>
An array of objects, each of which contains information about an input into the node.  
*Required*: No  
*Type*: Array of [FlowNodeInput](aws-properties-bedrock-flowversion-flownodeinput.md)  
*Maximum*: `5`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-bedrock-flowversion-flownode-name"></a>
A name for the node.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Outputs`  <a name="cfn-bedrock-flowversion-flownode-outputs"></a>
A list of objects, each of which contains information about an output from the node.  
*Required*: No  
*Type*: Array of [FlowNodeOutput](aws-properties-bedrock-flowversion-flownodeoutput.md)  
*Maximum*: `5`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-bedrock-flowversion-flownode-type"></a>
The type of node. This value must match the name of the key that you provide in the configuration you provide in the `FlowNodeConfiguration` field.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `Input | Output | KnowledgeBase | Condition | Lex | Prompt | LambdaFunction | Agent | Iterator | Collector | Storage | Retrieval | InlineCode | Loop | LoopInput | LoopController`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-flownodeconfiguration"></a>

Contains configurations for a node in your flow. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.

## Syntax
<a name="aws-properties-bedrock-flowversion-flownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flownodeconfiguration-syntax.json"></a>

```
{
  "[Agent](#cfn-bedrock-flowversion-flownodeconfiguration-agent)" : AgentFlowNodeConfiguration,
  "[Collector](#cfn-bedrock-flowversion-flownodeconfiguration-collector)" : Json,
  "[Condition](#cfn-bedrock-flowversion-flownodeconfiguration-condition)" : ConditionFlowNodeConfiguration,
  "[InlineCode](#cfn-bedrock-flowversion-flownodeconfiguration-inlinecode)" : InlineCodeFlowNodeConfiguration,
  "[Input](#cfn-bedrock-flowversion-flownodeconfiguration-input)" : Json,
  "[Iterator](#cfn-bedrock-flowversion-flownodeconfiguration-iterator)" : Json,
  "[KnowledgeBase](#cfn-bedrock-flowversion-flownodeconfiguration-knowledgebase)" : KnowledgeBaseFlowNodeConfiguration,
  "[LambdaFunction](#cfn-bedrock-flowversion-flownodeconfiguration-lambdafunction)" : LambdaFunctionFlowNodeConfiguration,
  "[Lex](#cfn-bedrock-flowversion-flownodeconfiguration-lex)" : LexFlowNodeConfiguration,
  "[Loop](#cfn-bedrock-flowversion-flownodeconfiguration-loop)" : LoopFlowNodeConfiguration,
  "[LoopController](#cfn-bedrock-flowversion-flownodeconfiguration-loopcontroller)" : LoopControllerFlowNodeConfiguration,
  "[LoopInput](#cfn-bedrock-flowversion-flownodeconfiguration-loopinput)" : Json,
  "[Output](#cfn-bedrock-flowversion-flownodeconfiguration-output)" : Json,
  "[Prompt](#cfn-bedrock-flowversion-flownodeconfiguration-prompt)" : PromptFlowNodeConfiguration,
  "[Retrieval](#cfn-bedrock-flowversion-flownodeconfiguration-retrieval)" : RetrievalFlowNodeConfiguration,
  "[Storage](#cfn-bedrock-flowversion-flownodeconfiguration-storage)" : StorageFlowNodeConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flownodeconfiguration-syntax.yaml"></a>

```
  [Agent](#cfn-bedrock-flowversion-flownodeconfiguration-agent): 
    AgentFlowNodeConfiguration
  [Collector](#cfn-bedrock-flowversion-flownodeconfiguration-collector): Json
  [Condition](#cfn-bedrock-flowversion-flownodeconfiguration-condition): 
    ConditionFlowNodeConfiguration
  [InlineCode](#cfn-bedrock-flowversion-flownodeconfiguration-inlinecode): 
    InlineCodeFlowNodeConfiguration
  [Input](#cfn-bedrock-flowversion-flownodeconfiguration-input): Json
  [Iterator](#cfn-bedrock-flowversion-flownodeconfiguration-iterator): Json
  [KnowledgeBase](#cfn-bedrock-flowversion-flownodeconfiguration-knowledgebase): 
    KnowledgeBaseFlowNodeConfiguration
  [LambdaFunction](#cfn-bedrock-flowversion-flownodeconfiguration-lambdafunction): 
    LambdaFunctionFlowNodeConfiguration
  [Lex](#cfn-bedrock-flowversion-flownodeconfiguration-lex): 
    LexFlowNodeConfiguration
  [Loop](#cfn-bedrock-flowversion-flownodeconfiguration-loop): 
    LoopFlowNodeConfiguration
  [LoopController](#cfn-bedrock-flowversion-flownodeconfiguration-loopcontroller): 
    LoopControllerFlowNodeConfiguration
  [LoopInput](#cfn-bedrock-flowversion-flownodeconfiguration-loopinput): Json
  [Output](#cfn-bedrock-flowversion-flownodeconfiguration-output): Json
  [Prompt](#cfn-bedrock-flowversion-flownodeconfiguration-prompt): 
    PromptFlowNodeConfiguration
  [Retrieval](#cfn-bedrock-flowversion-flownodeconfiguration-retrieval): 
    RetrievalFlowNodeConfiguration
  [Storage](#cfn-bedrock-flowversion-flownodeconfiguration-storage): 
    StorageFlowNodeConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-flownodeconfiguration-properties"></a>

`Agent`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-agent"></a>
Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.  
*Required*: No  
*Type*: [AgentFlowNodeConfiguration](aws-properties-bedrock-flowversion-agentflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Collector`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-collector"></a>
Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.  
*Required*: No  
*Type*: Json  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Condition`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-condition"></a>
Contains configurations for a condition node in your flow. Defines conditions that lead to different branches of the flow.  
*Required*: No  
*Type*: [ConditionFlowNodeConfiguration](aws-properties-bedrock-flowversion-conditionflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InlineCode`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-inlinecode"></a>
Contains configurations for an inline code node in your flow. Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.  
*Required*: No  
*Type*: [InlineCodeFlowNodeConfiguration](aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Input`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-input"></a>
Contains configurations for an input flow node in your flow. The first node in the flow. `inputs` can't be specified for this node.  
*Required*: No  
*Type*: Json  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Iterator`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-iterator"></a>
Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.  
The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.  
*Required*: No  
*Type*: Json  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`KnowledgeBase`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-knowledgebase"></a>
Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.  
*Required*: No  
*Type*: [KnowledgeBaseFlowNodeConfiguration](aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LambdaFunction`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-lambdafunction"></a>
Contains configurations for a Lambda function node in your flow. Invokes an AWS Lambda function.  
*Required*: No  
*Type*: [LambdaFunctionFlowNodeConfiguration](aws-properties-bedrock-flowversion-lambdafunctionflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Lex`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-lex"></a>
Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output.  
*Required*: No  
*Type*: [LexFlowNodeConfiguration](aws-properties-bedrock-flowversion-lexflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Loop`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-loop"></a>
Contains configurations for a DoWhile loop in your flow.  
*Required*: No  
*Type*: [LoopFlowNodeConfiguration](aws-properties-bedrock-flowversion-loopflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LoopController`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-loopcontroller"></a>
Contains controller node configurations for a DoWhile loop in your flow.  
*Required*: No  
*Type*: [LoopControllerFlowNodeConfiguration](aws-properties-bedrock-flowversion-loopcontrollerflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LoopInput`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-loopinput"></a>
Contains input node configurations for a DoWhile loop in your flow.  
*Required*: No  
*Type*: Json  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Output`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-output"></a>
Contains configurations for an output flow node in your flow. The last node in the flow. `outputs` can't be specified for this node.  
*Required*: No  
*Type*: Json  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Prompt`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-prompt"></a>
Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node.  
*Required*: No  
*Type*: [PromptFlowNodeConfiguration](aws-properties-bedrock-flowversion-promptflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Retrieval`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-retrieval"></a>
Contains configurations for a retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.  
*Required*: No  
*Type*: [RetrievalFlowNodeConfiguration](aws-properties-bedrock-flowversion-retrievalflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Storage`  <a name="cfn-bedrock-flowversion-flownodeconfiguration-storage"></a>
Contains configurations for a storage node in your flow. Stores an input in an Amazon S3 location.  
*Required*: No  
*Type*: [StorageFlowNodeConfiguration](aws-properties-bedrock-flowversion-storageflownodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowNodeInput
<a name="aws-properties-bedrock-flowversion-flownodeinput"></a>

Contains configurations for an input in an Amazon Bedrock Flows node.

## Syntax
<a name="aws-properties-bedrock-flowversion-flownodeinput-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flownodeinput-syntax.json"></a>

```
{
  "[Expression](#cfn-bedrock-flowversion-flownodeinput-expression)" : String,
  "[Name](#cfn-bedrock-flowversion-flownodeinput-name)" : String,
  "[Type](#cfn-bedrock-flowversion-flownodeinput-type)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flownodeinput-syntax.yaml"></a>

```
  [Expression](#cfn-bedrock-flowversion-flownodeinput-expression): String
  [Name](#cfn-bedrock-flowversion-flownodeinput-name): String
  [Type](#cfn-bedrock-flowversion-flownodeinput-type): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-flownodeinput-properties"></a>

`Expression`  <a name="cfn-bedrock-flowversion-flownodeinput-expression"></a>
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](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-expressions.html).  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-bedrock-flowversion-flownodeinput-name"></a>
Specifies a name for the input that you can reference.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-bedrock-flowversion-flownodeinput-type"></a>
Specifies the data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `String | Number | Boolean | Object | Array`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion FlowNodeOutput
<a name="aws-properties-bedrock-flowversion-flownodeoutput"></a>

Contains configurations for an output from a node.

## Syntax
<a name="aws-properties-bedrock-flowversion-flownodeoutput-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-flownodeoutput-syntax.json"></a>

```
{
  "[Name](#cfn-bedrock-flowversion-flownodeoutput-name)" : String,
  "[Type](#cfn-bedrock-flowversion-flownodeoutput-type)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-flownodeoutput-syntax.yaml"></a>

```
  [Name](#cfn-bedrock-flowversion-flownodeoutput-name): String
  [Type](#cfn-bedrock-flowversion-flownodeoutput-type): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-flownodeoutput-properties"></a>

`Name`  <a name="cfn-bedrock-flowversion-flownodeoutput-name"></a>
A name for the output that you can reference.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-bedrock-flowversion-flownodeoutput-type"></a>
The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `String | Number | Boolean | Object | Array`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion GuardrailConfiguration
<a name="aws-properties-bedrock-flowversion-guardrailconfiguration"></a>

Configuration information for a guardrail that you use with the [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) operation.

## Syntax
<a name="aws-properties-bedrock-flowversion-guardrailconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-guardrailconfiguration-syntax.json"></a>

```
{
  "[GuardrailIdentifier](#cfn-bedrock-flowversion-guardrailconfiguration-guardrailidentifier)" : String,
  "[GuardrailVersion](#cfn-bedrock-flowversion-guardrailconfiguration-guardrailversion)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-guardrailconfiguration-syntax.yaml"></a>

```
  [GuardrailIdentifier](#cfn-bedrock-flowversion-guardrailconfiguration-guardrailidentifier): String
  [GuardrailVersion](#cfn-bedrock-flowversion-guardrailconfiguration-guardrailversion): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-guardrailconfiguration-properties"></a>

`GuardrailIdentifier`  <a name="cfn-bedrock-flowversion-guardrailconfiguration-guardrailidentifier"></a>
The identifier for the guardrail.  
*Required*: No  
*Type*: String  
*Pattern*: `^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`GuardrailVersion`  <a name="cfn-bedrock-flowversion-guardrailconfiguration-guardrailversion"></a>
The version of the guardrail.  
*Required*: No  
*Type*: String  
*Pattern*: `^(([0-9]{1,8})|(DRAFT))$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion InlineCodeFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration"></a>

Contains configurations for an inline code node in your flow. Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.

## Syntax
<a name="aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration-syntax.json"></a>

```
{
  "[Code](#cfn-bedrock-flowversion-inlinecodeflownodeconfiguration-code)" : String,
  "[Language](#cfn-bedrock-flowversion-inlinecodeflownodeconfiguration-language)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration-syntax.yaml"></a>

```
  [Code](#cfn-bedrock-flowversion-inlinecodeflownodeconfiguration-code): String
  [Language](#cfn-bedrock-flowversion-inlinecodeflownodeconfiguration-language): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration-properties"></a>

`Code`  <a name="cfn-bedrock-flowversion-inlinecodeflownodeconfiguration-code"></a>
The code that's executed in your inline code node. The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow.  
The code must be valid in the programming `language` that you specify.  
*Required*: Yes  
*Type*: String  
*Maximum*: `5000000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Language`  <a name="cfn-bedrock-flowversion-inlinecodeflownodeconfiguration-language"></a>
The programming language used by your inline code node.  
The code must be valid in the programming `language` that you specify. Currently, only Python 3 (`Python_3`) is supported.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `Python_3`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion KnowledgeBaseFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration"></a>

Contains configurations for a knowledge base node in a flow. This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.

## Syntax
<a name="aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration-syntax.json"></a>

```
{
  "[GuardrailConfiguration](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-guardrailconfiguration)" : GuardrailConfiguration,
  "[InferenceConfiguration](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-inferenceconfiguration)" : PromptInferenceConfiguration,
  "[KnowledgeBaseId](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-knowledgebaseid)" : String,
  "[ModelId](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-modelid)" : String,
  "[NumberOfResults](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-numberofresults)" : Number,
  "[OrchestrationConfiguration](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-orchestrationconfiguration)" : KnowledgeBaseOrchestrationConfiguration,
  "[PromptTemplate](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-prompttemplate)" : KnowledgeBasePromptTemplate,
  "[RerankingConfiguration](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-rerankingconfiguration)" : VectorSearchRerankingConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration-syntax.yaml"></a>

```
  [GuardrailConfiguration](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-guardrailconfiguration): 
    GuardrailConfiguration
  [InferenceConfiguration](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-inferenceconfiguration): 
    PromptInferenceConfiguration
  [KnowledgeBaseId](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-knowledgebaseid): String
  [ModelId](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-modelid): String
  [NumberOfResults](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-numberofresults): 
    Number
  [OrchestrationConfiguration](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-orchestrationconfiguration): 
    KnowledgeBaseOrchestrationConfiguration
  [PromptTemplate](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-prompttemplate): 
    KnowledgeBasePromptTemplate
  [RerankingConfiguration](#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-rerankingconfiguration): 
    VectorSearchRerankingConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration-properties"></a>

`GuardrailConfiguration`  <a name="cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-guardrailconfiguration"></a>
Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration.  
*Required*: No  
*Type*: [GuardrailConfiguration](aws-properties-bedrock-flowversion-guardrailconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InferenceConfiguration`  <a name="cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-inferenceconfiguration"></a>
Contains inference configurations for the prompt.  
*Required*: No  
*Type*: [PromptInferenceConfiguration](aws-properties-bedrock-flowversion-promptinferenceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`KnowledgeBaseId`  <a name="cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-knowledgebaseid"></a>
The unique identifier of the knowledge base to query.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[0-9a-zA-Z]+$`  
*Maximum*: `10`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ModelId`  <a name="cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-modelid"></a>
The unique identifier of the model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.  
*Required*: No  
*Type*: String  
*Pattern*: `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NumberOfResults`  <a name="cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-numberofresults"></a>
The number of results to retrieve from the knowledge base.  
*Required*: No  
*Type*: Number  
*Minimum*: `1`  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`OrchestrationConfiguration`  <a name="cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-orchestrationconfiguration"></a>
The configuration for orchestrating the retrieval and generation process in the knowledge base node.  
*Required*: No  
*Type*: [KnowledgeBaseOrchestrationConfiguration](aws-properties-bedrock-flowversion-knowledgebaseorchestrationconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`PromptTemplate`  <a name="cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-prompttemplate"></a>
A custom prompt template to use with the knowledge base for generating responses.  
*Required*: No  
*Type*: [KnowledgeBasePromptTemplate](aws-properties-bedrock-flowversion-knowledgebaseprompttemplate.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RerankingConfiguration`  <a name="cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-rerankingconfiguration"></a>
The configuration for reranking the retrieved results from the knowledge base to improve relevance.  
*Required*: No  
*Type*: [VectorSearchRerankingConfiguration](aws-properties-bedrock-flowversion-vectorsearchrerankingconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion KnowledgeBaseOrchestrationConfiguration
<a name="aws-properties-bedrock-flowversion-knowledgebaseorchestrationconfiguration"></a>

Configures how the knowledge base orchestrates the retrieval and generation process, allowing for customization of prompts, inference parameters, and performance settings.

## Syntax
<a name="aws-properties-bedrock-flowversion-knowledgebaseorchestrationconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-knowledgebaseorchestrationconfiguration-syntax.json"></a>

```
{
  "[AdditionalModelRequestFields](#cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-additionalmodelrequestfields)" : Json,
  "[InferenceConfig](#cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-inferenceconfig)" : PromptInferenceConfiguration,
  "[PerformanceConfig](#cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-performanceconfig)" : PerformanceConfiguration,
  "[PromptTemplate](#cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-prompttemplate)" : KnowledgeBasePromptTemplate
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-knowledgebaseorchestrationconfiguration-syntax.yaml"></a>

```
  [AdditionalModelRequestFields](#cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-additionalmodelrequestfields): Json
  [InferenceConfig](#cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-inferenceconfig): 
    PromptInferenceConfiguration
  [PerformanceConfig](#cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-performanceconfig): 
    PerformanceConfiguration
  [PromptTemplate](#cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-prompttemplate): 
    KnowledgeBasePromptTemplate
```

## Properties
<a name="aws-properties-bedrock-flowversion-knowledgebaseorchestrationconfiguration-properties"></a>

`AdditionalModelRequestFields`  <a name="cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-additionalmodelrequestfields"></a>
The additional model-specific request parameters as key-value pairs to be included in the request to the foundation model.  
*Required*: No  
*Type*: Json  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InferenceConfig`  <a name="cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-inferenceconfig"></a>
Contains inference configurations for the prompt.  
*Required*: No  
*Type*: [PromptInferenceConfiguration](aws-properties-bedrock-flowversion-promptinferenceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`PerformanceConfig`  <a name="cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-performanceconfig"></a>
The performance configuration options for the knowledge base retrieval and generation process.  
*Required*: No  
*Type*: [PerformanceConfiguration](aws-properties-bedrock-flowversion-performanceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`PromptTemplate`  <a name="cfn-bedrock-flowversion-knowledgebaseorchestrationconfiguration-prompttemplate"></a>
A custom prompt template for orchestrating the retrieval and generation process.  
*Required*: No  
*Type*: [KnowledgeBasePromptTemplate](aws-properties-bedrock-flowversion-knowledgebaseprompttemplate.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion KnowledgeBasePromptTemplate
<a name="aws-properties-bedrock-flowversion-knowledgebaseprompttemplate"></a>

Defines a custom prompt template for orchestrating the retrieval and generation process.

## Syntax
<a name="aws-properties-bedrock-flowversion-knowledgebaseprompttemplate-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-knowledgebaseprompttemplate-syntax.json"></a>

```
{
  "[TextPromptTemplate](#cfn-bedrock-flowversion-knowledgebaseprompttemplate-textprompttemplate)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-knowledgebaseprompttemplate-syntax.yaml"></a>

```
  [TextPromptTemplate](#cfn-bedrock-flowversion-knowledgebaseprompttemplate-textprompttemplate): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-knowledgebaseprompttemplate-properties"></a>

`TextPromptTemplate`  <a name="cfn-bedrock-flowversion-knowledgebaseprompttemplate-textprompttemplate"></a>
The text of the prompt template.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `100000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion LambdaFunctionFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-lambdafunctionflownodeconfiguration"></a>

Contains configurations for a Lambda function node in the flow. You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.

## Syntax
<a name="aws-properties-bedrock-flowversion-lambdafunctionflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-lambdafunctionflownodeconfiguration-syntax.json"></a>

```
{
  "[LambdaArn](#cfn-bedrock-flowversion-lambdafunctionflownodeconfiguration-lambdaarn)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-lambdafunctionflownodeconfiguration-syntax.yaml"></a>

```
  [LambdaArn](#cfn-bedrock-flowversion-lambdafunctionflownodeconfiguration-lambdaarn): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-lambdafunctionflownodeconfiguration-properties"></a>

`LambdaArn`  <a name="cfn-bedrock-flowversion-lambdafunctionflownodeconfiguration-lambdaarn"></a>
The Amazon Resource Name (ARN) of the Lambda function to invoke.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion LexFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-lexflownodeconfiguration"></a>

Contains configurations for a Lex node in the flow. You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.

## Syntax
<a name="aws-properties-bedrock-flowversion-lexflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-lexflownodeconfiguration-syntax.json"></a>

```
{
  "[BotAliasArn](#cfn-bedrock-flowversion-lexflownodeconfiguration-botaliasarn)" : String,
  "[LocaleId](#cfn-bedrock-flowversion-lexflownodeconfiguration-localeid)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-lexflownodeconfiguration-syntax.yaml"></a>

```
  [BotAliasArn](#cfn-bedrock-flowversion-lexflownodeconfiguration-botaliasarn): String
  [LocaleId](#cfn-bedrock-flowversion-lexflownodeconfiguration-localeid): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-lexflownodeconfiguration-properties"></a>

`BotAliasArn`  <a name="cfn-bedrock-flowversion-lexflownodeconfiguration-botaliasarn"></a>
The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:aws(|-us-gov):lex:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:bot-alias/[0-9a-zA-Z]+/[0-9a-zA-Z]+$`  
*Maximum*: `78`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LocaleId`  <a name="cfn-bedrock-flowversion-lexflownodeconfiguration-localeid"></a>
The Region to invoke the Amazon Lex bot in.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `10`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion LoopControllerFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-loopcontrollerflownodeconfiguration"></a>

Contains configurations for the controller node of a DoWhile loop in the flow.

## Syntax
<a name="aws-properties-bedrock-flowversion-loopcontrollerflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-loopcontrollerflownodeconfiguration-syntax.json"></a>

```
{
  "[ContinueCondition](#cfn-bedrock-flowversion-loopcontrollerflownodeconfiguration-continuecondition)" : FlowCondition,
  "[MaxIterations](#cfn-bedrock-flowversion-loopcontrollerflownodeconfiguration-maxiterations)" : Number
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-loopcontrollerflownodeconfiguration-syntax.yaml"></a>

```
  [ContinueCondition](#cfn-bedrock-flowversion-loopcontrollerflownodeconfiguration-continuecondition): 
    FlowCondition
  [MaxIterations](#cfn-bedrock-flowversion-loopcontrollerflownodeconfiguration-maxiterations): Number
```

## Properties
<a name="aws-properties-bedrock-flowversion-loopcontrollerflownodeconfiguration-properties"></a>

`ContinueCondition`  <a name="cfn-bedrock-flowversion-loopcontrollerflownodeconfiguration-continuecondition"></a>
Specifies the condition that determines when the flow exits the DoWhile loop. The loop executes until this condition evaluates to true.  
*Required*: Yes  
*Type*: [FlowCondition](aws-properties-bedrock-flowversion-flowcondition.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MaxIterations`  <a name="cfn-bedrock-flowversion-loopcontrollerflownodeconfiguration-maxiterations"></a>
Specifies the maximum number of times the DoWhile loop can iterate before the flow exits the loop.  
*Required*: No  
*Type*: Number  
*Minimum*: `1`  
*Maximum*: `1000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion LoopFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-loopflownodeconfiguration"></a>

Contains configurations for the nodes of a DoWhile loop in your flow.

A DoWhile loop is made up of the following nodes:
+ `Loop` - The container node that holds the loop's flow definition. This node encompasses the entire loop structure.
+ `LoopInput` - The entry point node for the loop. This node receives inputs from nodes outside the loop and from previous loop iterations.
+ Body nodes - The processing nodes that execute within each loop iteration. These can be nodes for handling data in your flow, such as a prompt or Lambda function nodes. Some node types aren't supported inside a DoWhile loop body. For more information, see [LoopIncompatibleNodeTypeFlowValidationDetails](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_LoopIncompatibleNodeTypeFlowValidationDetails.html).
+ `LoopController` - The node that evaluates whether the loop should continue or exit based on a condition.

These nodes work together to create a loop that runs at least once and continues until a specified condition is met or a maximum number of iterations is reached.

## Syntax
<a name="aws-properties-bedrock-flowversion-loopflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-loopflownodeconfiguration-syntax.json"></a>

```
{
  "[Definition](#cfn-bedrock-flowversion-loopflownodeconfiguration-definition)" : FlowDefinition
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-loopflownodeconfiguration-syntax.yaml"></a>

```
  [Definition](#cfn-bedrock-flowversion-loopflownodeconfiguration-definition): 
    FlowDefinition
```

## Properties
<a name="aws-properties-bedrock-flowversion-loopflownodeconfiguration-properties"></a>

`Definition`  <a name="cfn-bedrock-flowversion-loopflownodeconfiguration-definition"></a>
The definition of the DoWhile loop nodes and connections between nodes in the flow.  
*Required*: Yes  
*Type*: [FlowDefinition](aws-properties-bedrock-flowversion-flowdefinition.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion MetadataConfigurationForReranking
<a name="aws-properties-bedrock-flowversion-metadataconfigurationforreranking"></a>

Configuration for how metadata should be used during the reranking process in Knowledge Base vector searches. This determines which metadata fields are included or excluded when reordering search results.

## Syntax
<a name="aws-properties-bedrock-flowversion-metadataconfigurationforreranking-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-metadataconfigurationforreranking-syntax.json"></a>

```
{
  "[SelectionMode](#cfn-bedrock-flowversion-metadataconfigurationforreranking-selectionmode)" : String,
  "[SelectiveModeConfiguration](#cfn-bedrock-flowversion-metadataconfigurationforreranking-selectivemodeconfiguration)" : RerankingMetadataSelectiveModeConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-metadataconfigurationforreranking-syntax.yaml"></a>

```
  [SelectionMode](#cfn-bedrock-flowversion-metadataconfigurationforreranking-selectionmode): String
  [SelectiveModeConfiguration](#cfn-bedrock-flowversion-metadataconfigurationforreranking-selectivemodeconfiguration): 
    RerankingMetadataSelectiveModeConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-metadataconfigurationforreranking-properties"></a>

`SelectionMode`  <a name="cfn-bedrock-flowversion-metadataconfigurationforreranking-selectionmode"></a>
The mode for selecting which metadata fields to include in the reranking process. Valid values are ALL (use all available metadata fields) or SELECTIVE (use only specified fields).  
*Required*: Yes  
*Type*: String  
*Allowed values*: `SELECTIVE | ALL`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SelectiveModeConfiguration`  <a name="cfn-bedrock-flowversion-metadataconfigurationforreranking-selectivemodeconfiguration"></a>
Configuration for selective mode, which allows you to explicitly include or exclude specific metadata fields during reranking. This is only used when selectionMode is set to SELECTIVE.  
*Required*: No  
*Type*: [RerankingMetadataSelectiveModeConfiguration](aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion PerformanceConfiguration
<a name="aws-properties-bedrock-flowversion-performanceconfiguration"></a>

Performance settings for a model.

## Syntax
<a name="aws-properties-bedrock-flowversion-performanceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-performanceconfiguration-syntax.json"></a>

```
{
  "[Latency](#cfn-bedrock-flowversion-performanceconfiguration-latency)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-performanceconfiguration-syntax.yaml"></a>

```
  [Latency](#cfn-bedrock-flowversion-performanceconfiguration-latency): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-performanceconfiguration-properties"></a>

`Latency`  <a name="cfn-bedrock-flowversion-performanceconfiguration-latency"></a>
To use a latency-optimized version of the model, set to `optimized`.  
*Required*: No  
*Type*: String  
*Allowed values*: `standard | optimized`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion PromptFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-promptflownodeconfiguration"></a>

Contains configurations for a prompt node in the flow. You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.

## Syntax
<a name="aws-properties-bedrock-flowversion-promptflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-promptflownodeconfiguration-syntax.json"></a>

```
{
  "[GuardrailConfiguration](#cfn-bedrock-flowversion-promptflownodeconfiguration-guardrailconfiguration)" : GuardrailConfiguration,
  "[SourceConfiguration](#cfn-bedrock-flowversion-promptflownodeconfiguration-sourceconfiguration)" : PromptFlowNodeSourceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-promptflownodeconfiguration-syntax.yaml"></a>

```
  [GuardrailConfiguration](#cfn-bedrock-flowversion-promptflownodeconfiguration-guardrailconfiguration): 
    GuardrailConfiguration
  [SourceConfiguration](#cfn-bedrock-flowversion-promptflownodeconfiguration-sourceconfiguration): 
    PromptFlowNodeSourceConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-promptflownodeconfiguration-properties"></a>

`GuardrailConfiguration`  <a name="cfn-bedrock-flowversion-promptflownodeconfiguration-guardrailconfiguration"></a>
Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.  
*Required*: No  
*Type*: [GuardrailConfiguration](aws-properties-bedrock-flowversion-guardrailconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceConfiguration`  <a name="cfn-bedrock-flowversion-promptflownodeconfiguration-sourceconfiguration"></a>
Specifies whether the prompt is from Prompt management or defined inline.  
*Required*: Yes  
*Type*: [PromptFlowNodeSourceConfiguration](aws-properties-bedrock-flowversion-promptflownodesourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion PromptFlowNodeInlineConfiguration
<a name="aws-properties-bedrock-flowversion-promptflownodeinlineconfiguration"></a>

Contains configurations for a prompt defined inline in the node.

## Syntax
<a name="aws-properties-bedrock-flowversion-promptflownodeinlineconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-promptflownodeinlineconfiguration-syntax.json"></a>

```
{
  "[InferenceConfiguration](#cfn-bedrock-flowversion-promptflownodeinlineconfiguration-inferenceconfiguration)" : PromptInferenceConfiguration,
  "[ModelId](#cfn-bedrock-flowversion-promptflownodeinlineconfiguration-modelid)" : String,
  "[TemplateConfiguration](#cfn-bedrock-flowversion-promptflownodeinlineconfiguration-templateconfiguration)" : PromptTemplateConfiguration,
  "[TemplateType](#cfn-bedrock-flowversion-promptflownodeinlineconfiguration-templatetype)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-promptflownodeinlineconfiguration-syntax.yaml"></a>

```
  [InferenceConfiguration](#cfn-bedrock-flowversion-promptflownodeinlineconfiguration-inferenceconfiguration): 
    PromptInferenceConfiguration
  [ModelId](#cfn-bedrock-flowversion-promptflownodeinlineconfiguration-modelid): String
  [TemplateConfiguration](#cfn-bedrock-flowversion-promptflownodeinlineconfiguration-templateconfiguration): 
    PromptTemplateConfiguration
  [TemplateType](#cfn-bedrock-flowversion-promptflownodeinlineconfiguration-templatetype): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-promptflownodeinlineconfiguration-properties"></a>

`InferenceConfiguration`  <a name="cfn-bedrock-flowversion-promptflownodeinlineconfiguration-inferenceconfiguration"></a>
Contains inference configurations for the prompt.  
*Required*: No  
*Type*: [PromptInferenceConfiguration](aws-properties-bedrock-flowversion-promptinferenceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ModelId`  <a name="cfn-bedrock-flowversion-promptflownodeinlineconfiguration-modelid"></a>
The unique identifier of the model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) to run inference with.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TemplateConfiguration`  <a name="cfn-bedrock-flowversion-promptflownodeinlineconfiguration-templateconfiguration"></a>
Contains a prompt and variables in the prompt that can be replaced with values at runtime.  
*Required*: Yes  
*Type*: [PromptTemplateConfiguration](aws-properties-bedrock-flowversion-prompttemplateconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TemplateType`  <a name="cfn-bedrock-flowversion-promptflownodeinlineconfiguration-templatetype"></a>
The type of prompt template.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `TEXT`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion PromptFlowNodeResourceConfiguration
<a name="aws-properties-bedrock-flowversion-promptflownoderesourceconfiguration"></a>

Contains configurations for a prompt from Prompt management to use in a node.

## Syntax
<a name="aws-properties-bedrock-flowversion-promptflownoderesourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-promptflownoderesourceconfiguration-syntax.json"></a>

```
{
  "[PromptArn](#cfn-bedrock-flowversion-promptflownoderesourceconfiguration-promptarn)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-promptflownoderesourceconfiguration-syntax.yaml"></a>

```
  [PromptArn](#cfn-bedrock-flowversion-promptflownoderesourceconfiguration-promptarn): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-promptflownoderesourceconfiguration-properties"></a>

`PromptArn`  <a name="cfn-bedrock-flowversion-promptflownoderesourceconfiguration-promptarn"></a>
The Amazon Resource Name (ARN) of the prompt from Prompt management.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?)$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion PromptFlowNodeSourceConfiguration
<a name="aws-properties-bedrock-flowversion-promptflownodesourceconfiguration"></a>

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

## Syntax
<a name="aws-properties-bedrock-flowversion-promptflownodesourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-promptflownodesourceconfiguration-syntax.json"></a>

```
{
  "[Inline](#cfn-bedrock-flowversion-promptflownodesourceconfiguration-inline)" : PromptFlowNodeInlineConfiguration,
  "[Resource](#cfn-bedrock-flowversion-promptflownodesourceconfiguration-resource)" : PromptFlowNodeResourceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-promptflownodesourceconfiguration-syntax.yaml"></a>

```
  [Inline](#cfn-bedrock-flowversion-promptflownodesourceconfiguration-inline): 
    PromptFlowNodeInlineConfiguration
  [Resource](#cfn-bedrock-flowversion-promptflownodesourceconfiguration-resource): 
    PromptFlowNodeResourceConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-promptflownodesourceconfiguration-properties"></a>

`Inline`  <a name="cfn-bedrock-flowversion-promptflownodesourceconfiguration-inline"></a>
Contains configurations for a prompt that is defined inline  
*Required*: No  
*Type*: [PromptFlowNodeInlineConfiguration](aws-properties-bedrock-flowversion-promptflownodeinlineconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Resource`  <a name="cfn-bedrock-flowversion-promptflownodesourceconfiguration-resource"></a>
Contains configurations for a prompt from Prompt management.  
*Required*: No  
*Type*: [PromptFlowNodeResourceConfiguration](aws-properties-bedrock-flowversion-promptflownoderesourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion PromptInferenceConfiguration
<a name="aws-properties-bedrock-flowversion-promptinferenceconfiguration"></a>

Contains inference configurations for the prompt.

## Syntax
<a name="aws-properties-bedrock-flowversion-promptinferenceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-promptinferenceconfiguration-syntax.json"></a>

```
{
  "[Text](#cfn-bedrock-flowversion-promptinferenceconfiguration-text)" : PromptModelInferenceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-promptinferenceconfiguration-syntax.yaml"></a>

```
  [Text](#cfn-bedrock-flowversion-promptinferenceconfiguration-text): 
    PromptModelInferenceConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-promptinferenceconfiguration-properties"></a>

`Text`  <a name="cfn-bedrock-flowversion-promptinferenceconfiguration-text"></a>
Contains inference configurations for a text prompt.  
*Required*: Yes  
*Type*: [PromptModelInferenceConfiguration](aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion PromptInputVariable
<a name="aws-properties-bedrock-flowversion-promptinputvariable"></a>

Contains information about a variable in the prompt.

## Syntax
<a name="aws-properties-bedrock-flowversion-promptinputvariable-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-promptinputvariable-syntax.json"></a>

```
{
  "[Name](#cfn-bedrock-flowversion-promptinputvariable-name)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-promptinputvariable-syntax.yaml"></a>

```
  [Name](#cfn-bedrock-flowversion-promptinputvariable-name): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-promptinputvariable-properties"></a>

`Name`  <a name="cfn-bedrock-flowversion-promptinputvariable-name"></a>
The name of the variable.  
*Required*: No  
*Type*: String  
*Pattern*: `^([0-9a-zA-Z][_-]?){1,100}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion PromptModelInferenceConfiguration
<a name="aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration"></a>

Contains inference configurations related to model inference for a prompt. For more information, see [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/inference-parameters.html).

## Syntax
<a name="aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration-syntax.json"></a>

```
{
  "[MaxTokens](#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-maxtokens)" : Number,
  "[StopSequences](#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-stopsequences)" : [ String, ... ],
  "[Temperature](#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-temperature)" : Number,
  "[TopP](#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-topp)" : Number
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration-syntax.yaml"></a>

```
  [MaxTokens](#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-maxtokens): Number
  [StopSequences](#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-stopsequences): 
    - String
  [Temperature](#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-temperature): Number
  [TopP](#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-topp): Number
```

## Properties
<a name="aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration-properties"></a>

`MaxTokens`  <a name="cfn-bedrock-flowversion-promptmodelinferenceconfiguration-maxtokens"></a>
The maximum number of tokens to return in the response.  
*Required*: No  
*Type*: Number  
*Minimum*: `0`  
*Maximum*: `4096`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`StopSequences`  <a name="cfn-bedrock-flowversion-promptmodelinferenceconfiguration-stopsequences"></a>
A list of strings that define sequences after which the model will stop generating.  
*Required*: No  
*Type*: Array of String  
*Minimum*: `0`  
*Maximum*: `4`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Temperature`  <a name="cfn-bedrock-flowversion-promptmodelinferenceconfiguration-temperature"></a>
Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.  
*Required*: No  
*Type*: Number  
*Minimum*: `0`  
*Maximum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TopP`  <a name="cfn-bedrock-flowversion-promptmodelinferenceconfiguration-topp"></a>
The percentage of most-likely candidates that the model considers for the next token.  
*Required*: No  
*Type*: Number  
*Minimum*: `0`  
*Maximum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion PromptTemplateConfiguration
<a name="aws-properties-bedrock-flowversion-prompttemplateconfiguration"></a>

Contains the message for a prompt. For more information, see [Construct and store reusable prompts with Prompt management in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html).

## Syntax
<a name="aws-properties-bedrock-flowversion-prompttemplateconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-prompttemplateconfiguration-syntax.json"></a>

```
{
  "[Text](#cfn-bedrock-flowversion-prompttemplateconfiguration-text)" : TextPromptTemplateConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-prompttemplateconfiguration-syntax.yaml"></a>

```
  [Text](#cfn-bedrock-flowversion-prompttemplateconfiguration-text): 
    TextPromptTemplateConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-prompttemplateconfiguration-properties"></a>

`Text`  <a name="cfn-bedrock-flowversion-prompttemplateconfiguration-text"></a>
Contains configurations for the text in a message for a prompt.  
*Required*: Yes  
*Type*: [TextPromptTemplateConfiguration](aws-properties-bedrock-flowversion-textprompttemplateconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion RerankingMetadataSelectiveModeConfiguration
<a name="aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration"></a>

Configuration for selectively including or excluding metadata fields during the reranking process. This allows you to control which metadata attributes are considered when reordering search results.

## Syntax
<a name="aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-syntax.json"></a>

```
{
  "[FieldsToExclude](#cfn-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-fieldstoexclude)" : [ FieldForReranking, ... ],
  "[FieldsToInclude](#cfn-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-fieldstoinclude)" : [ FieldForReranking, ... ]
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-syntax.yaml"></a>

```
  [FieldsToExclude](#cfn-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-fieldstoexclude): 
    - FieldForReranking
  [FieldsToInclude](#cfn-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-fieldstoinclude): 
    - FieldForReranking
```

## Properties
<a name="aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-properties"></a>

`FieldsToExclude`  <a name="cfn-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-fieldstoexclude"></a>
A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.  
*Required*: No  
*Type*: Array of [FieldForReranking](aws-properties-bedrock-flowversion-fieldforreranking.md)  
*Minimum*: `1`  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`FieldsToInclude`  <a name="cfn-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-fieldstoinclude"></a>
A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.  
*Required*: No  
*Type*: Array of [FieldForReranking](aws-properties-bedrock-flowversion-fieldforreranking.md)  
*Minimum*: `1`  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion RetrievalFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-retrievalflownodeconfiguration"></a>

Contains configurations for a Retrieval node in a flow. This node retrieves data from the Amazon S3 location that you specify and returns it as the output.

## Syntax
<a name="aws-properties-bedrock-flowversion-retrievalflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-retrievalflownodeconfiguration-syntax.json"></a>

```
{
  "[ServiceConfiguration](#cfn-bedrock-flowversion-retrievalflownodeconfiguration-serviceconfiguration)" : RetrievalFlowNodeServiceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-retrievalflownodeconfiguration-syntax.yaml"></a>

```
  [ServiceConfiguration](#cfn-bedrock-flowversion-retrievalflownodeconfiguration-serviceconfiguration): 
    RetrievalFlowNodeServiceConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-retrievalflownodeconfiguration-properties"></a>

`ServiceConfiguration`  <a name="cfn-bedrock-flowversion-retrievalflownodeconfiguration-serviceconfiguration"></a>
Contains configurations for the service to use for retrieving data to return as the output from the node.  
*Required*: Yes  
*Type*: [RetrievalFlowNodeServiceConfiguration](aws-properties-bedrock-flowversion-retrievalflownodeserviceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion RetrievalFlowNodeS3Configuration
<a name="aws-properties-bedrock-flowversion-retrievalflownodes3configuration"></a>

Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.

## Syntax
<a name="aws-properties-bedrock-flowversion-retrievalflownodes3configuration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-retrievalflownodes3configuration-syntax.json"></a>

```
{
  "[BucketName](#cfn-bedrock-flowversion-retrievalflownodes3configuration-bucketname)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-retrievalflownodes3configuration-syntax.yaml"></a>

```
  [BucketName](#cfn-bedrock-flowversion-retrievalflownodes3configuration-bucketname): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-retrievalflownodes3configuration-properties"></a>

`BucketName`  <a name="cfn-bedrock-flowversion-retrievalflownodes3configuration-bucketname"></a>
The name of the Amazon S3 bucket from which to retrieve data.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion RetrievalFlowNodeServiceConfiguration
<a name="aws-properties-bedrock-flowversion-retrievalflownodeserviceconfiguration"></a>

Contains configurations for the service to use for retrieving data to return as the output from the node.

## Syntax
<a name="aws-properties-bedrock-flowversion-retrievalflownodeserviceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-retrievalflownodeserviceconfiguration-syntax.json"></a>

```
{
  "[S3](#cfn-bedrock-flowversion-retrievalflownodeserviceconfiguration-s3)" : RetrievalFlowNodeS3Configuration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-retrievalflownodeserviceconfiguration-syntax.yaml"></a>

```
  [S3](#cfn-bedrock-flowversion-retrievalflownodeserviceconfiguration-s3): 
    RetrievalFlowNodeS3Configuration
```

## Properties
<a name="aws-properties-bedrock-flowversion-retrievalflownodeserviceconfiguration-properties"></a>

`S3`  <a name="cfn-bedrock-flowversion-retrievalflownodeserviceconfiguration-s3"></a>
Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.  
*Required*: No  
*Type*: [RetrievalFlowNodeS3Configuration](aws-properties-bedrock-flowversion-retrievalflownodes3configuration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion StorageFlowNodeConfiguration
<a name="aws-properties-bedrock-flowversion-storageflownodeconfiguration"></a>

Contains configurations for a Storage node in a flow. This node stores the input in an Amazon S3 location that you specify.

## Syntax
<a name="aws-properties-bedrock-flowversion-storageflownodeconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-storageflownodeconfiguration-syntax.json"></a>

```
{
  "[ServiceConfiguration](#cfn-bedrock-flowversion-storageflownodeconfiguration-serviceconfiguration)" : StorageFlowNodeServiceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-storageflownodeconfiguration-syntax.yaml"></a>

```
  [ServiceConfiguration](#cfn-bedrock-flowversion-storageflownodeconfiguration-serviceconfiguration): 
    StorageFlowNodeServiceConfiguration
```

## Properties
<a name="aws-properties-bedrock-flowversion-storageflownodeconfiguration-properties"></a>

`ServiceConfiguration`  <a name="cfn-bedrock-flowversion-storageflownodeconfiguration-serviceconfiguration"></a>
Contains configurations for the service to use for storing the input into the node.  
*Required*: Yes  
*Type*: [StorageFlowNodeServiceConfiguration](aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion StorageFlowNodeS3Configuration
<a name="aws-properties-bedrock-flowversion-storageflownodes3configuration"></a>

Contains configurations for the Amazon S3 location in which to store the input into the node.

## Syntax
<a name="aws-properties-bedrock-flowversion-storageflownodes3configuration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-storageflownodes3configuration-syntax.json"></a>

```
{
  "[BucketName](#cfn-bedrock-flowversion-storageflownodes3configuration-bucketname)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-storageflownodes3configuration-syntax.yaml"></a>

```
  [BucketName](#cfn-bedrock-flowversion-storageflownodes3configuration-bucketname): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-storageflownodes3configuration-properties"></a>

`BucketName`  <a name="cfn-bedrock-flowversion-storageflownodes3configuration-bucketname"></a>
The name of the Amazon S3 bucket in which to store the input into the node.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion StorageFlowNodeServiceConfiguration
<a name="aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration"></a>

Contains configurations for the service to use for storing the input into the node.

## Syntax
<a name="aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration-syntax.json"></a>

```
{
  "[S3](#cfn-bedrock-flowversion-storageflownodeserviceconfiguration-s3)" : StorageFlowNodeS3Configuration
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration-syntax.yaml"></a>

```
  [S3](#cfn-bedrock-flowversion-storageflownodeserviceconfiguration-s3): 
    StorageFlowNodeS3Configuration
```

## Properties
<a name="aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration-properties"></a>

`S3`  <a name="cfn-bedrock-flowversion-storageflownodeserviceconfiguration-s3"></a>
Contains configurations for the Amazon S3 location in which to store the input into the node.  
*Required*: No  
*Type*: [StorageFlowNodeS3Configuration](aws-properties-bedrock-flowversion-storageflownodes3configuration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion TextPromptTemplateConfiguration
<a name="aws-properties-bedrock-flowversion-textprompttemplateconfiguration"></a>

Contains configurations for a text prompt template. To include a variable, enclose a word in double curly braces as in `{{variable}}`.

## Syntax
<a name="aws-properties-bedrock-flowversion-textprompttemplateconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-textprompttemplateconfiguration-syntax.json"></a>

```
{
  "[InputVariables](#cfn-bedrock-flowversion-textprompttemplateconfiguration-inputvariables)" : [ PromptInputVariable, ... ],
  "[Text](#cfn-bedrock-flowversion-textprompttemplateconfiguration-text)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-textprompttemplateconfiguration-syntax.yaml"></a>

```
  [InputVariables](#cfn-bedrock-flowversion-textprompttemplateconfiguration-inputvariables): 
    - PromptInputVariable
  [Text](#cfn-bedrock-flowversion-textprompttemplateconfiguration-text): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-textprompttemplateconfiguration-properties"></a>

`InputVariables`  <a name="cfn-bedrock-flowversion-textprompttemplateconfiguration-inputvariables"></a>
An array of the variables in the prompt template.  
*Required*: No  
*Type*: Array of [PromptInputVariable](aws-properties-bedrock-flowversion-promptinputvariable.md)  
*Minimum*: `0`  
*Maximum*: `20`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Text`  <a name="cfn-bedrock-flowversion-textprompttemplateconfiguration-text"></a>
The message for the prompt.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `200000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion VectorSearchBedrockRerankingConfiguration
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration"></a>

Configuration for using Amazon Bedrock foundation models to rerank Knowledge Base vector search results. This enables more sophisticated relevance ranking using large language models.

## Syntax
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-syntax.json"></a>

```
{
  "[MetadataConfiguration](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-metadataconfiguration)" : MetadataConfigurationForReranking,
  "[ModelConfiguration](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-modelconfiguration)" : VectorSearchBedrockRerankingModelConfiguration,
  "[NumberOfRerankedResults](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-numberofrerankedresults)" : Number
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-syntax.yaml"></a>

```
  [MetadataConfiguration](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-metadataconfiguration): 
    MetadataConfigurationForReranking
  [ModelConfiguration](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-modelconfiguration): 
    VectorSearchBedrockRerankingModelConfiguration
  [NumberOfRerankedResults](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-numberofrerankedresults): 
    Number
```

## Properties
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-properties"></a>

`MetadataConfiguration`  <a name="cfn-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-metadataconfiguration"></a>
Configuration for how document metadata should be used during the reranking process. This determines which metadata fields are included when reordering search results.  
*Required*: No  
*Type*: [MetadataConfigurationForReranking](aws-properties-bedrock-flowversion-metadataconfigurationforreranking.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ModelConfiguration`  <a name="cfn-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-modelconfiguration"></a>
Configuration for the Amazon Bedrock foundation model used for reranking. This includes the model ARN and any additional request fields required by the model.  
*Required*: Yes  
*Type*: [VectorSearchBedrockRerankingModelConfiguration](aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NumberOfRerankedResults`  <a name="cfn-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration-numberofrerankedresults"></a>
The maximum number of results to rerank. This limits how many of the initial vector search results will be processed by the reranking model. A smaller number improves performance but may exclude potentially relevant results.  
*Required*: No  
*Type*: Number  
*Minimum*: `1`  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion VectorSearchBedrockRerankingModelConfiguration
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration"></a>

Configuration for the Amazon Bedrock foundation model used for reranking vector search results. This specifies which model to use and any additional parameters required by the model.

## Syntax
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-syntax.json"></a>

```
{
  "[AdditionalModelRequestFields](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-additionalmodelrequestfields)" : Json,
  "[ModelArn](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-modelarn)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-syntax.yaml"></a>

```
  [AdditionalModelRequestFields](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-additionalmodelrequestfields): Json
  [ModelArn](#cfn-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-modelarn): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-properties"></a>

`AdditionalModelRequestFields`  <a name="cfn-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-additionalmodelrequestfields"></a>
A list of additional fields to include in the model request during reranking. These fields provide extra context or configuration options specific to the selected foundation model.  
*Required*: No  
*Type*: Json  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ModelArn`  <a name="cfn-bedrock-flowversion-vectorsearchbedrockrerankingmodelconfiguration-modelarn"></a>
The Amazon Resource Name (ARN) of the foundation model to use for reranking. This model processes the query and search results to determine a more relevant ordering.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/(.*))?$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::FlowVersion VectorSearchRerankingConfiguration
<a name="aws-properties-bedrock-flowversion-vectorsearchrerankingconfiguration"></a>

Configuration for reranking vector search results to improve relevance. Reranking applies additional relevance models to reorder the initial vector search results based on more sophisticated criteria.

## Syntax
<a name="aws-properties-bedrock-flowversion-vectorsearchrerankingconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-flowversion-vectorsearchrerankingconfiguration-syntax.json"></a>

```
{
  "[BedrockRerankingConfiguration](#cfn-bedrock-flowversion-vectorsearchrerankingconfiguration-bedrockrerankingconfiguration)" : VectorSearchBedrockRerankingConfiguration,
  "[Type](#cfn-bedrock-flowversion-vectorsearchrerankingconfiguration-type)" : String
}
```

### YAML
<a name="aws-properties-bedrock-flowversion-vectorsearchrerankingconfiguration-syntax.yaml"></a>

```
  [BedrockRerankingConfiguration](#cfn-bedrock-flowversion-vectorsearchrerankingconfiguration-bedrockrerankingconfiguration): 
    VectorSearchBedrockRerankingConfiguration
  [Type](#cfn-bedrock-flowversion-vectorsearchrerankingconfiguration-type): String
```

## Properties
<a name="aws-properties-bedrock-flowversion-vectorsearchrerankingconfiguration-properties"></a>

`BedrockRerankingConfiguration`  <a name="cfn-bedrock-flowversion-vectorsearchrerankingconfiguration-bedrockrerankingconfiguration"></a>
Configuration for using Amazon Bedrock foundation models to rerank search results. This is required when the reranking type is set to BEDROCK.  
*Required*: No  
*Type*: [VectorSearchBedrockRerankingConfiguration](aws-properties-bedrock-flowversion-vectorsearchbedrockrerankingconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-bedrock-flowversion-vectorsearchrerankingconfiguration-type"></a>
The type of reranking to apply to vector search results. Currently, the only supported value is BEDROCK, which uses Amazon Bedrock foundation models for reranking.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `BEDROCK_RERANKING_MODEL`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)