Paws::WAF::Predicate
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::Predicate object:
$service_obj->Method(Att1 => { DataId => $value, ..., Type => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::WAF::Predicate object:
$result = $service_obj->Method(...); $result->Att1->DataId
Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to add to a Rule and, for each object, indicates whether you want to negate the settings, for example, requests that do NOT originate from the IP address 192.0.2.44.
Rule
A unique identifier for a predicate in a C<Rule>, such as C<ByteMatchSetId> or C<IPSetId>. The ID is returned by the corresponding C<Create> or C<List> command.
Set C<Negated> to C<False> if you want AWS WAF to allow, block, or count requests based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an C<IPSet> includes the IP address C<192.0.2.44>, AWS WAF will allow or block requests based on that IP address.
Set Negated to True if you want AWS WAF to allow or block a request based on the negation of the settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow, block, or count requests based on all IP addresses except 192.0.2.44.
Negated
True
IPSet
192.0.2.44
The type of predicate in a C<Rule>, such as C<ByteMatch> or C<IPSet>.
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.