NAME
Paws::WAFV2::LabelMatchStatement
USAGE
This class represents one of two things:
Arguments in a call to a service
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::WAFV2::LabelMatchStatement object:
$service_obj->Method(Att1 => { Key => $value, ..., Scope => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::WAFV2::LabelMatchStatement object:
$result = $service_obj->Method(...);
$result->Att1->Key
DESCRIPTION
A rule statement that defines a string match search against labels that have been added to the web request by rules that have already run in the web ACL.
The label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, WAF performs the search for labels that were added in the same context as the label match statement.
ATTRIBUTES
REQUIRED Key => Str
The string to match against. The setting you provide for this depends on the match statement's Scope
setting:
If the
Scope
indicatesLABEL
, then this specification must include the name and can include any number of preceding namespace specifications and prefix up to providing the fully qualified label name.If the
Scope
indicatesNAMESPACE
, then this specification can include any number of contiguous namespace strings, and can include the entire label namespace prefix from the rule group or web ACL where the label originates.
Labels are case sensitive and components of a label must be separated by colon, for example NS1:NS2:name
.
REQUIRED Scope => Str
Specify whether you want to match using the label name or just the namespace.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::WAFV2
BUGS and CONTRIBUTIONS
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