AWSManagedRulesBotControlRuleSetProperty Struct
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 AWS WAF and AWS Managed Rules rule groups list in the AWS WAF Developer Guide .
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const aWSManagedRulesBotControlRuleSetProperty: wafv2.CfnWebACL.AWSManagedRulesBotControlRuleSetProperty = {
inspectionLevel: 'inspectionLevel',
// the properties below are optional
enableMachineLearning: false,
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wafv2 as wafv2
a_ws_managed_rules_bot_control_rule_set_property = wafv2.CfnWebACL.AWSManagedRulesBotControlRuleSetProperty(
inspection_level="inspectionLevel",
# the properties below are optional
enable_machine_learning=False
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wafv2.*;
AWSManagedRulesBotControlRuleSetProperty aWSManagedRulesBotControlRuleSetProperty = AWSManagedRulesBotControlRuleSetProperty.builder()
.inspectionLevel("inspectionLevel")
// the properties below are optional
.enableMachineLearning(false)
.build();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAFv2;
var aWSManagedRulesBotControlRuleSetProperty = new AWSManagedRulesBotControlRuleSetProperty {
InspectionLevel = "inspectionLevel",
// the properties below are optional
EnableMachineLearning = false
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
aWSManagedRulesBotControlRuleSetProperty := &AWSManagedRulesBotControlRuleSetProperty{
InspectionLevel: jsii.String("inspectionLevel"),
// the properties below are optional
EnableMachineLearning: jsii.Boolean(false),
}
Properties
enableMachineLearningoptionalboolean | IResolvableenable_machine_learningoptionaltyping.Union[bool, IResolvable]enableMachineLearningoptionalBooleanEnableMachineLearningoptionalboolEnableMachineLearningoptionalinterface{} #notes
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 in the AWS WAF Developer Guide .
Default: TRUE
inspectionLevelstringinspection_levelstrinspectionLevelStringInspectionLevelstringInspectionLevel*string required #notes
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 AWS WAF Bot Control rule group in the AWS WAF Developer Guide .