@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-09T19:16:35.188Z")
public interface CfnWebACLProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.waf.regional.*; CfnWebACLProps cfnWebACLProps = CfnWebACLProps.builder() .defaultAction(ActionProperty.builder() .type("type") .build()) .metricName("metricName") .name("name") // the properties below are optional .rules(List.of(RuleProperty.builder() .action(ActionProperty.builder() .type("type") .build()) .priority(123) .ruleId("ruleId") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnWebACLProps.Builder
A builder for
CfnWebACLProps |
static class |
CfnWebACLProps.Jsii$Proxy
An implementation for
CfnWebACLProps |
Modifier and Type | Method and Description |
---|---|
static CfnWebACLProps.Builder |
builder() |
java.lang.Object |
getDefaultAction()
The action to perform if none of the `Rules` contained in the `WebACL` match.
|
java.lang.String |
getMetricName()
A name for the metrics for this `WebACL` .
|
java.lang.String |
getName()
A friendly name or description of the `WebACL` .
|
default java.lang.Object |
getRules()
An array that contains the action for each `Rule` in a `WebACL` , the priority of the `Rule` , and the ID of the `Rule` .
|
java.lang.Object getDefaultAction()
The action is specified by the WafAction
object.
java.lang.String getMetricName()
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 MetricName
after you create the WebACL
.
java.lang.String getName()
You can't change the name of a WebACL
after you create it.
default java.lang.Object getRules()
static CfnWebACLProps.Builder builder()
CfnWebACLProps.Builder
of CfnWebACLProps