Class: Aws::WAFV2::Types::RateBasedStatementManagedKeysIPSet

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-wafv2/types.rb

Overview

The set of IP addresses that are currently blocked for a RateBasedStatement. This is only available for rate-based rules that aggregate on just the IP address, with the ‘AggregateKeyType` set to `IP` or `FORWARDED_IP`.

A rate-based rule applies its rule action to requests from IP addresses that are in the rule’s managed keys list and that match the rule’s scope-down statement. When a rule has no scope-down statement, it applies the action to all requests from the IP addresses that are in the list. The rule applies its rule action to rate limit the matching requests. The action is usually Block but it can be any valid rule action except for Allow.

The maximum number of IP addresses that can be rate limited by a single rate-based rule instance is 10,000. If more than 10,000 addresses exceed the rate limit, WAF limits those with the highest rates.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#addressesArray<String>

The IP addresses that are currently blocked.

Returns:

  • (Array<String>)


6585
6586
6587
6588
6589
6590
# File 'lib/aws-sdk-wafv2/types.rb', line 6585

class RateBasedStatementManagedKeysIPSet < Struct.new(
  :ip_address_version,
  :addresses)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_versionString

The version of the IP addresses, either ‘IPV4` or `IPV6`.

Returns:

  • (String)


6585
6586
6587
6588
6589
6590
# File 'lib/aws-sdk-wafv2/types.rb', line 6585

class RateBasedStatementManagedKeysIPSet < Struct.new(
  :ip_address_version,
  :addresses)
  SENSITIVE = []
  include Aws::Structure
end