@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.576Z") @Stability(value=Stable) public interface CfnRuleProps 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.*;
CfnRuleProps cfnRuleProps = CfnRuleProps.builder()
.metricName("metricName")
.name("name")
// the properties below are optional
.predicates(List.of(PredicateProperty.builder()
.dataId("dataId")
.negated(false)
.type("type")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRuleProps.Builder
A builder for
CfnRuleProps |
static class |
CfnRuleProps.Jsii$Proxy
An implementation for
CfnRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnRuleProps.Builder |
builder() |
String |
getMetricName()
`AWS::WAF::Rule.MetricName`.
|
String |
getName()
`AWS::WAF::Rule.Name`.
|
default Object |
getPredicates()
`AWS::WAF::Rule.Predicates`.
|
@Stability(value=Stable) @NotNull String getMetricName()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getPredicates()
@Stability(value=Stable) static CfnRuleProps.Builder builder()
CfnRuleProps.Builder of CfnRulePropsCopyright © 2021. All rights reserved.