Skip to content

WafRuleProps

Properties for defining a WafRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-wafrule

Initializer

import com.aliyun.ros.cdk.esa.WafRuleProps;
WafRuleProps.builder()
    .phase(java.lang.String)
    .phase(IResolvable)
    .siteId(java.lang.Number)
    .siteId(IResolvable)
//  .config(IResolvable)
//  .config(ConfigProperty)
//  .rulesetId(java.lang.Number)
//  .rulesetId(IResolvable)
//  .shared(IResolvable)
//  .shared(SharedProperty)
//  .siteVersion(java.lang.Number)
//  .siteVersion(IResolvable)
    .build();

Properties

Name Type Description
phase java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property phase: The version of the website.
siteId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property siteId: The website ID, which can be obtained by calling the ListSites operation.
config com.aliyun.ros.cdk.core.IResolvable OR ConfigProperty Property config: The configuration of the rule.
rulesetId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property rulesetId: The ID of the WAF ruleset, which can be obtained by calling the ListWafRulesets operation.
shared com.aliyun.ros.cdk.core.IResolvable OR SharedProperty Property shared: The configurations shared by multiple rules.
siteVersion java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property siteVersion: The website ID, which can be obtained by calling the ListSites operation.

phaseRequired

public java.lang.Object getPhase();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property phase: The version of the website.


siteIdRequired

public java.lang.Object getSiteId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property siteId: The website ID, which can be obtained by calling the ListSites operation.


configOptional

public java.lang.Object getConfig();

Property config: The configuration of the rule.


rulesetIdOptional

public java.lang.Object getRulesetId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property rulesetId: The ID of the WAF ruleset, which can be obtained by calling the ListWafRulesets operation.


sharedOptional

public java.lang.Object getShared();

Property shared: The configurations shared by multiple rules.


siteVersionOptional

public java.lang.Object getSiteVersion();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property siteVersion: The website ID, which can be obtained by calling the ListSites operation.