@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:08.221Z") @Stability(value=Stable) public interface CfnWebACLProps extends software.amazon.jsii.JsiiSerializable
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() |
Object |
getDefaultAction()
`AWS::WAFRegional::WebACL.DefaultAction`.
|
String |
getMetricName()
`AWS::WAFRegional::WebACL.MetricName`.
|
String |
getName()
`AWS::WAFRegional::WebACL.Name`.
|
default Object |
getRules()
`AWS::WAFRegional::WebACL.Rules`.
|
@Stability(value=Stable) @NotNull Object getDefaultAction()
@Stability(value=Stable) @NotNull String getMetricName()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getRules()
@Stability(value=Stable) static CfnWebACLProps.Builder builder()
CfnWebACLProps.Builder of CfnWebACLPropsCopyright © 2021. All rights reserved.