

# AutomatedReasoningPolicyAddVariableMutation
<a name="API_AutomatedReasoningPolicyAddVariableMutation"></a>

A mutation operation that adds a new variable to the policy definition during the build process.

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

 ** variable **   <a name="bedrock-Type-AutomatedReasoningPolicyAddVariableMutation-variable"></a>
The variable definition that specifies the name, type, and description for the new variable being added to the policy.  
Type: [AutomatedReasoningPolicyDefinitionVariable](API_AutomatedReasoningPolicyDefinitionVariable.md) object  
Required: Yes

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