Paws::WAF::IPSetDescriptor
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::WAF::IPSetDescriptor object:
$service_obj->Method(Att1 => { Type => $value, ..., Value => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::WAF::IPSetDescriptor object:
$result = $service_obj->Method(...); $result->Att1->Type
Specifies the IP address type (IPV4 or IPV6) and the IP address range (in CIDR format) that web requests originate from.
IPV4
IPV6
Specify C<IPV4> or C<IPV6>.
Specify an IPv4 address by using CIDR notation. For example:
To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.
192.0.2.44/32
To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.
192.0.2.0/24
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
Specify an IPv6 address by using CIDR notation. For example:
To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
1111:0000:0000:0000:0000:0000:0000:0111/128
To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.
1111:0000:0000:0000:0000:0000:0000:0000/64
This class forms part of Paws, describing an object used in Paws::WAF
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.