LabelNameConditionProperty Struct
A single label name condition for a condition in a logging filter.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
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.