

# LabelNameCondition


 Condition that matches based on WAF rule labels, with label names limited to 1024 characters. 

## Contents


 ** LabelName **   <a name="cwoa-Type-LabelNameCondition-LabelName"></a>
 The label name to match, supporting alphanumeric characters, underscores, hyphens, and colons.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `[0-9A-Za-z_\-:]+`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/observabilityadmin-2018-05-10/LabelNameCondition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/observabilityadmin-2018-05-10/LabelNameCondition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/observabilityadmin-2018-05-10/LabelNameCondition) 