AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing IPSetUpdate as input to an Aws::Client method, you can use a vanilla 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.

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

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

Possible values:

  • INSERT
  • DELETE

Returns:

  • (String)

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

#ip_set_descriptorTypes::IPSetDescriptor

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

Returns:

  • (Types::IPSetDescriptor)

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