Class: Aws::WAFRegional::Types::IPSetUpdate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb

Overview

Note:

When making an API call, you may pass IPSetUpdate data as a hash:

{
  action: "INSERT", # required, accepts INSERT, DELETE
  ip_set_descriptor: { # required
    type: "IPV4", # required, accepts IPV4, IPV6
    value: "IPSetDescriptorValue", # required
  },
}

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the type of update to perform to an IPSet with UpdateIPSet.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

Specifies whether to insert or delete an IP address with UpdateIPSet.

Returns:

  • (String)


3311
3312
3313
3314
3315
3316
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3311

class IPSetUpdate < Struct.new(
  :action,
  :ip_set_descriptor)
  SENSITIVE = []
  include Aws::Structure
end

#ip_set_descriptorTypes::IPSetDescriptor

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from.



3311
3312
3313
3314
3315
3316
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3311

class IPSetUpdate < Struct.new(
  :action,
  :ip_set_descriptor)
  SENSITIVE = []
  include Aws::Structure
end