Class: Aws::WAF::Types::IPSetUpdate

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


3194
3195
3196
3197
3198
3199
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 3194

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.



3194
3195
3196
3197
3198
3199
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 3194

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