| Modifier and Type | Method and Description |
|---|---|
CfnWebACL |
build() |
static CfnWebACL.Builder |
create(software.constructs.Construct scope,
String id) |
CfnWebACL.Builder |
defaultAction(CfnWebACL.ActionProperty defaultAction)
The action to perform if none of the `Rules` contained in the `WebACL` match.
|
CfnWebACL.Builder |
defaultAction(IResolvable defaultAction)
The action to perform if none of the `Rules` contained in the `WebACL` match.
|
CfnWebACL.Builder |
metricName(String metricName)
A name for the metrics for this `WebACL` .
|
CfnWebACL.Builder |
name(String name)
A friendly name or description of the `WebACL` .
|
CfnWebACL.Builder |
rules(IResolvable rules)
An array that contains the action for each `Rule` in a `WebACL` , the priority of the `Rule` , and the ID of the `Rule` .
|
CfnWebACL.Builder |
rules(List<? extends Object> rules)
An array that contains the action for each `Rule` in a `WebACL` , the priority of the `Rule` , and the ID of the `Rule` .
|
@Stability(value=Stable) public static CfnWebACL.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnWebACL.ActionProperty.Builder.@Stability(value=Stable) public CfnWebACL.Builder defaultAction(CfnWebACL.ActionProperty defaultAction)
The action is specified by the WafAction object.
defaultAction - The action to perform if none of the `Rules` contained in the `WebACL` match. This parameter is required.this@Stability(value=Stable) public CfnWebACL.Builder defaultAction(IResolvable defaultAction)
The action is specified by the WafAction object.
defaultAction - The action to perform if none of the `Rules` contained in the `WebACL` match. This parameter is required.this@Stability(value=Stable) public CfnWebACL.Builder metricName(String metricName)
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 .
metricName - A name for the metrics for this `WebACL` . This parameter is required.this@Stability(value=Stable) public CfnWebACL.Builder name(String name)
You can't change the name of a WebACL after you create it.
name - A friendly name or description of the `WebACL` . This parameter is required.this@Stability(value=Stable) public CfnWebACL.Builder rules(IResolvable rules)
rules - An array that contains the action for each `Rule` in a `WebACL` , the priority of the `Rule` , and the ID of the `Rule` . This parameter is required.this@Stability(value=Stable) public CfnWebACL.Builder rules(List<? extends Object> rules)
rules - An array that contains the action for each `Rule` in a `WebACL` , the priority of the `Rule` , and the ID of the `Rule` . This parameter is required.thisCopyright © 2022. All rights reserved.