

# AWSManagedRulesBotControlRuleSet
<a name="API_AWSManagedRulesBotControlRuleSet"></a>

Details for your use of the Bot Control managed rule group, `AWSManagedRulesBotControlRuleSet`. This configuration is used in `ManagedRuleGroupConfig`. 

For additional information about this and the other intelligent threat mitigation rule groups, see [Intelligent threat mitigation in Amazon WAF](https://docs.amazonaws.cn/waf/latest/developerguide/waf-managed-protections) and [Amazon Managed Rules rule groups list](https://docs.amazonaws.cn/waf/latest/developerguide/aws-managed-rule-groups-list) in the * Amazon WAF Developer Guide*. 

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

 ** InspectionLevel **   <a name="WAF-Type-AWSManagedRulesBotControlRuleSet-InspectionLevel"></a>
The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see [Amazon WAF Bot Control rule group](https://docs.amazonaws.cn/waf/latest/developerguide/aws-managed-rule-groups-bot.html) in the * Amazon WAF Developer Guide*.  
Type: String  
Valid Values: `COMMON | TARGETED`   
Required: Yes

 ** EnableMachineLearning **   <a name="WAF-Type-AWSManagedRulesBotControlRuleSet-EnableMachineLearning"></a>
Applies only to the targeted inspection level.   
Determines whether to use machine learning (ML) to analyze your web traffic for bot-related activity. Machine learning is required for the Bot Control rules `TGT_ML_CoordinatedActivityLow` and `TGT_ML_CoordinatedActivityMedium`, which inspect for anomalous behavior that might indicate distributed, coordinated bot activity.  
For more information about this choice, see the listing for these rules in the table at [Bot Control rules listing](https://docs.amazonaws.cn/waf/latest/developerguide/aws-managed-rule-groups-bot.html#aws-managed-rule-groups-bot-rules) in the * Amazon WAF Developer Guide*.  
Default: `TRUE`   
Type: Boolean  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/wafv2-2019-07-29/AWSManagedRulesBotControlRuleSet) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/wafv2-2019-07-29/AWSManagedRulesBotControlRuleSet) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/wafv2-2019-07-29/AWSManagedRulesBotControlRuleSet) 