Class CfnRuleGroup.RateLimitLabelNamespaceProperty
Specifies a label namespace to use as an aggregate key for a rate-based rule.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRuleGroup.RateLimitLabelNamespaceProperty : CfnRuleGroup.IRateLimitLabelNamespaceProperty
Syntax (vb)
Public Class CfnRuleGroup.RateLimitLabelNamespaceProperty Implements CfnRuleGroup.IRateLimitLabelNamespaceProperty
Remarks
Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance.
This uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL.
For information about label namespaces and names, see Label syntax and naming requirements in the AWS WAF Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// 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 rateLimitLabelNamespaceProperty = new RateLimitLabelNamespaceProperty {
Namespace = "namespace"
};
Synopsis
Constructors
| RateLimitLabelNamespaceProperty() | Specifies a label namespace to use as an aggregate key for a rate-based rule. |
Properties
| Namespace | The namespace to use for aggregation. |
Constructors
RateLimitLabelNamespaceProperty()
Specifies a label namespace to use as an aggregate key for a rate-based rule.
public RateLimitLabelNamespaceProperty()
Remarks
Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance.
This uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL.
For information about label namespaces and names, see Label syntax and naming requirements in the AWS WAF Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// 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 rateLimitLabelNamespaceProperty = new RateLimitLabelNamespaceProperty {
Namespace = "namespace"
};
Properties
Namespace
The namespace to use for aggregation.
public string Namespace { get; set; }