LabelNameConditionProperty Struct
Condition that matches based on WAF rule labels, with label names limited to 1024 characters.
| 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_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const labelNameConditionProperty: observabilityadmin.CfnOrganizationTelemetryRule.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_observabilityadmin as observabilityadmin
label_name_condition_property = observabilityadmin.CfnOrganizationTelemetryRule.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.observabilityadmin.*;
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.ObservabilityAdmin;
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
labelNameoptionalstringlabel_nameoptionalstrlabelNameoptionalStringLabelNameoptionalstringLabelNameoptional*string #The label name to match, supporting alphanumeric characters, underscores, hyphens, and colons.