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

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
  },
}

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.

Returns:

  • (String)


1921
1922
1923
1924
1925
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 1921

class IPSetUpdate < Struct.new(
  :action,
  :ip_set_descriptor)
  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.



1921
1922
1923
1924
1925
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 1921

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