Interface AWSManagedRulesAntiDDoSRuleSet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AWSManagedRulesAntiDDoSRuleSet.Builder,
,AWSManagedRulesAntiDDoSRuleSet> SdkBuilder<AWSManagedRulesAntiDDoSRuleSet.Builder,
,AWSManagedRulesAntiDDoSRuleSet> SdkPojo
- Enclosing class:
AWSManagedRulesAntiDDoSRuleSet
-
Method Summary
Modifier and TypeMethodDescriptionclientSideActionConfig
(Consumer<ClientSideActionConfig.Builder> clientSideActionConfig) Configures the request handling that's applied by the managed rule group rulesChallengeAllDuringEvent
andChallengeDDoSRequests
during a distributed denial of service (DDoS) attack.clientSideActionConfig
(ClientSideActionConfig clientSideActionConfig) Configures the request handling that's applied by the managed rule group rulesChallengeAllDuringEvent
andChallengeDDoSRequests
during a distributed denial of service (DDoS) attack.sensitivityToBlock
(String sensitivityToBlock) The sensitivity that the rule group ruleDDoSRequests
uses when matching against the DDoS suspicion labeling on a request.sensitivityToBlock
(SensitivityToAct sensitivityToBlock) The sensitivity that the rule group ruleDDoSRequests
uses when matching against the DDoS suspicion labeling on a request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientSideActionConfig
AWSManagedRulesAntiDDoSRuleSet.Builder clientSideActionConfig(ClientSideActionConfig clientSideActionConfig) Configures the request handling that's applied by the managed rule group rules
ChallengeAllDuringEvent
andChallengeDDoSRequests
during a distributed denial of service (DDoS) attack.- Parameters:
clientSideActionConfig
- Configures the request handling that's applied by the managed rule group rulesChallengeAllDuringEvent
andChallengeDDoSRequests
during a distributed denial of service (DDoS) attack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSideActionConfig
default AWSManagedRulesAntiDDoSRuleSet.Builder clientSideActionConfig(Consumer<ClientSideActionConfig.Builder> clientSideActionConfig) Configures the request handling that's applied by the managed rule group rules
This is a convenience method that creates an instance of theChallengeAllDuringEvent
andChallengeDDoSRequests
during a distributed denial of service (DDoS) attack.ClientSideActionConfig.Builder
avoiding the need to create one manually viaClientSideActionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientSideActionConfig(ClientSideActionConfig)
.- Parameters:
clientSideActionConfig
- a consumer that will call methods onClientSideActionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sensitivityToBlock
The sensitivity that the rule group rule
DDoSRequests
uses when matching against the DDoS suspicion labeling on a request. The managed rule group adds the labeling during DDoS events, before theDDoSRequests
rule runs.The higher the sensitivity, the more levels of labeling that the rule matches:
-
Low sensitivity is less sensitive, causing the rule to match only on the most likely participants in an attack, which are the requests with the high suspicion label
awswaf:managed:aws:anti-ddos:high-suspicion-ddos-request
. -
Medium sensitivity causes the rule to match on the medium and high suspicion labels.
-
High sensitivity causes the rule to match on all of the suspicion labels: low, medium, and high.
Default:
LOW
- Parameters:
sensitivityToBlock
- The sensitivity that the rule group ruleDDoSRequests
uses when matching against the DDoS suspicion labeling on a request. The managed rule group adds the labeling during DDoS events, before theDDoSRequests
rule runs.The higher the sensitivity, the more levels of labeling that the rule matches:
-
Low sensitivity is less sensitive, causing the rule to match only on the most likely participants in an attack, which are the requests with the high suspicion label
awswaf:managed:aws:anti-ddos:high-suspicion-ddos-request
. -
Medium sensitivity causes the rule to match on the medium and high suspicion labels.
-
High sensitivity causes the rule to match on all of the suspicion labels: low, medium, and high.
Default:
LOW
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
sensitivityToBlock
The sensitivity that the rule group rule
DDoSRequests
uses when matching against the DDoS suspicion labeling on a request. The managed rule group adds the labeling during DDoS events, before theDDoSRequests
rule runs.The higher the sensitivity, the more levels of labeling that the rule matches:
-
Low sensitivity is less sensitive, causing the rule to match only on the most likely participants in an attack, which are the requests with the high suspicion label
awswaf:managed:aws:anti-ddos:high-suspicion-ddos-request
. -
Medium sensitivity causes the rule to match on the medium and high suspicion labels.
-
High sensitivity causes the rule to match on all of the suspicion labels: low, medium, and high.
Default:
LOW
- Parameters:
sensitivityToBlock
- The sensitivity that the rule group ruleDDoSRequests
uses when matching against the DDoS suspicion labeling on a request. The managed rule group adds the labeling during DDoS events, before theDDoSRequests
rule runs.The higher the sensitivity, the more levels of labeling that the rule matches:
-
Low sensitivity is less sensitive, causing the rule to match only on the most likely participants in an attack, which are the requests with the high suspicion label
awswaf:managed:aws:anti-ddos:high-suspicion-ddos-request
. -
Medium sensitivity causes the rule to match on the medium and high suspicion labels.
-
High sensitivity causes the rule to match on all of the suspicion labels: low, medium, and high.
Default:
LOW
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-