

# TokenBasedTriggerInput
<a name="API_TokenBasedTriggerInput"></a>

Trigger configuration based on tokens.

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

 ** tokenCount **   <a name="bedrockagentcorecontrol-Type-TokenBasedTriggerInput-tokenCount"></a>
Number of tokens that trigger memory processing.  
Type: Integer  
Valid Range: Minimum value of 100. Maximum value of 500000.  
Required: No

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