@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.579Z") @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.*;
CfnWebACLProps cfnWebACLProps = CfnWebACLProps.builder()
.defaultAction(WafActionProperty.builder()
.type("type")
.build())
.metricName("metricName")
.name("name")
// the properties below are optional
.rules(List.of(ActivatedRuleProperty.builder()
.priority(123)
.ruleId("ruleId")
// the properties below are optional
.action(WafActionProperty.builder()
.type("type")
.build())
.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::WAF::WebACL.DefaultAction`.
|
String |
getMetricName()
`AWS::WAF::WebACL.MetricName`.
|
String |
getName()
`AWS::WAF::WebACL.Name`.
|
default Object |
getRules()
`AWS::WAF::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.