

# PromptInputVariable
<a name="API_agent_PromptInputVariable"></a>

Contains information about a variable in the prompt.

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

 ** name **   <a name="bedrock-Type-agent_PromptInputVariable-name"></a>
The name of the variable.  
Type: String  
Pattern: `([0-9a-zA-Z][_-]?){1,100}`   
Required: No

## See Also
<a name="API_agent_PromptInputVariable_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/PromptInputVariable) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-2023-06-05/PromptInputVariable) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-2023-06-05/PromptInputVariable) 