Interface AWSManagedRulesAntiDDoSRuleSet.Builder

  • Method Details

    • clientSideActionConfig

      AWSManagedRulesAntiDDoSRuleSet.Builder clientSideActionConfig(ClientSideActionConfig clientSideActionConfig)

      Configures the request handling that's applied by the managed rule group rules ChallengeAllDuringEvent and ChallengeDDoSRequests during a distributed denial of service (DDoS) attack.

      Parameters:
      clientSideActionConfig - Configures the request handling that's applied by the managed rule group rules ChallengeAllDuringEvent and ChallengeDDoSRequests 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 ChallengeAllDuringEvent and ChallengeDDoSRequests during a distributed denial of service (DDoS) attack.

      This is a convenience method that creates an instance of the ClientSideActionConfig.Builder avoiding the need to create one manually via ClientSideActionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to clientSideActionConfig(ClientSideActionConfig).

      Parameters:
      clientSideActionConfig - a consumer that will call methods on ClientSideActionConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sensitivityToBlock

      AWSManagedRulesAntiDDoSRuleSet.Builder sensitivityToBlock(String 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 the DDoSRequests 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 rule DDoSRequests uses when matching against the DDoS suspicion labeling on a request. The managed rule group adds the labeling during DDoS events, before the DDoSRequests 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

      AWSManagedRulesAntiDDoSRuleSet.Builder sensitivityToBlock(SensitivityToAct 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 the DDoSRequests 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 rule DDoSRequests uses when matching against the DDoS suspicion labeling on a request. The managed rule group adds the labeling during DDoS events, before the DDoSRequests 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: