# LabelNameConditionProperty

A single label name condition for a condition in a logging filter.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const labelNameConditionProperty: wafv2.CfnLoggingConfiguration.LabelNameConditionProperty = {
  labelName: 'labelName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wafv2 as wafv2

label_name_condition_property = wafv2.CfnLoggingConfiguration.LabelNameConditionProperty(
    label_name="labelName"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wafv2.*;

LabelNameConditionProperty labelNameConditionProperty = LabelNameConditionProperty.builder()
        .labelName("labelName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAFv2;

var labelNameConditionProperty = new LabelNameConditionProperty {
    LabelName = "labelName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

labelNameConditionProperty := &LabelNameConditionProperty{
	LabelName: jsii.String("labelName"),
}
```

## Properties

- `labelName`: string (required) — The label name that a log record must contain in order to meet the condition.

  This must be a fully qualified label name. 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.
