

# FlowDefinition
<a name="API_agent_FlowDefinition"></a>

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

## Contents
<a name="API_agent_FlowDefinition_Contents"></a>

 ** connections **   <a name="bedrock-Type-agent_FlowDefinition-connections"></a>
An array of connection definitions in the flow.  
Type: Array of [FlowConnection](API_agent_FlowConnection.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 20 items.  
Required: No

 ** nodes **   <a name="bedrock-Type-agent_FlowDefinition-nodes"></a>
An array of node definitions in the flow.  
Type: Array of [FlowNode](API_agent_FlowNode.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 40 items.  
Required: No

## See Also
<a name="API_agent_FlowDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agent-2023-06-05/FlowDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-2023-06-05/FlowDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-2023-06-05/FlowDefinition) 