Interface CfnWebACLMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebACLMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.993Z")
@Stability(Stable)
public interface CfnWebACLMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnWebACLPropsMixin.
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.*;
CfnWebACLMixinProps cfnWebACLMixinProps = CfnWebACLMixinProps.builder()
.defaultAction(WafActionProperty.builder()
.type("type")
.build())
.metricName("metricName")
.name("name")
.rules(List.of(ActivatedRuleProperty.builder()
.action(WafActionProperty.builder()
.type("type")
.build())
.priority(123)
.ruleId("ruleId")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWebACLMixinPropsstatic final classAn implementation forCfnWebACLMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnWebACLMixinProps.Builderbuilder()default ObjectThe action to perform if none of theRulescontained in theWebACLmatch.default StringThe name of the metrics for thisWebACL.default StringgetName()A friendly name or description of theWebACL.default ObjectgetRules()An array that contains the action for eachRulein aWebACL, the priority of theRule, and the ID of theRule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefaultAction
The action to perform if none of theRulescontained in theWebACLmatch.The action is specified by the
WafActionobject.Returns union: either
IResolvableorCfnWebACLPropsMixin.WafActionProperty- See Also:
-
getMetricName
The name of the metrics for thisWebACL.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 theWebACL.- See Also:
-
getName
A friendly name or description of theWebACL.You can't change the name of a
WebACLafter you create it.- See Also:
-
getRules
An array that contains the action for eachRulein aWebACL, the priority of theRule, and the ID of theRule.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnWebACLPropsMixin.ActivatedRuleProperty>- See Also:
-
builder
- Returns:
- a
CfnWebACLMixinProps.BuilderofCfnWebACLMixinProps
-