Interface CfnRuleMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.985Z")
@Stability(Stable)
public interface CfnRuleMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnRulePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.waf.*;
CfnRuleMixinProps cfnRuleMixinProps = CfnRuleMixinProps.builder()
.metricName("metricName")
.name("name")
.predicates(List.of(PredicateProperty.builder()
.dataId("dataId")
.negated(false)
.type("type")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRuleMixinPropsstatic final classAn implementation forCfnRuleMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRuleMixinProps.Builderbuilder()default StringThe name of the metrics for thisRule.default StringgetName()The friendly name or description for theRule.default ObjectThePredicatesobject contains onePredicateelement for eachByteMatchSet,IPSet, orSqlInjectionMatchSetobject that you want to include in aRule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricName
The name of the metrics for thisRule.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF , including "All" and "Default_Action." You can't change
MetricNameafter you create theRule.- See Also:
-
getName
The friendly name or description for theRule.You can't change the name of a
Ruleafter you create it.- See Also:
-
getPredicates
ThePredicatesobject contains onePredicateelement for eachByteMatchSet,IPSet, orSqlInjectionMatchSetobject that you want to include in aRule.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRulePropsMixin.PredicateProperty>- See Also:
-
builder
- Returns:
- a
CfnRuleMixinProps.BuilderofCfnRuleMixinProps
-