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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/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>)


6591
6592
6593
6594
6595
6596
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6591

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)


6591
6592
6593
6594
6595
6596
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6591

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