PolicyProps
Properties for defining a Policy
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddos-policy
Initializer
import com.aliyun.ros.cdk.ddos.PolicyProps;
PolicyProps.builder()
.policyName(java.lang.String)
.policyName(IResolvable)
.type(java.lang.String)
.type(IResolvable)
// .actionType(java.lang.String)
// .actionType(IResolvable)
// .blackIpList(IResolvable)
// .blackIpList(java.util.List<java.lang.String)
// .blackIpList(IResolvable>)
// .content(IResolvable)
// .content(ContentProperty)
// .whiteIpList(IResolvable)
// .whiteIpList(java.util.List<java.lang.String)
// .whiteIpList(IResolvable>)
.build();
Properties
Name | Type | Description |
---|---|---|
policyName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property policyName: The name of the policy. |
type |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property type: The type of the policy. |
actionType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property actionType: Operation type ActionType = 10 Modify policy name ActionType = 11 Modify whitelist and whitelist timeout ActionType = 12 modify add white high anti-back source network segment switch ActionType = 13 Modify the switch to discard ICMP ActionType = 20 Add black and white list ActionType = 21 Delete whitelist and whitelist ActionType = 22 Clear White List ActionType = 23 Clear the blacklist ActionType = 30 Modify Smart Switch ActionType = 31 Modify regional ban ActionType = 32 Modify Source Speed Limit Black ActionType = 34 Modifying Reflective Port Filtering ActionType = 40,41,42 Create, delete, and modify Port rules ActionType = 50,51,52 Create, delete, and modify fingerprint rules ActionType = 60 switch L4 protection ActionType = 61,62,63 Create, delete, and modify L4 rules. |
blackIpList |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property blackIpList: Blacklist list. |
content |
com.aliyun.ros.cdk.core.IResolvable OR ContentProperty |
Property content: Configuration Content. |
whiteIpList |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property whiteIpList: Whitelist IP list. |
policyName
Required
public java.lang.Object getPolicyName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property policyName: The name of the policy.
type
Required
public java.lang.Object getType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property type: The type of the policy.
Values:
- default: Indicates the default protection strategy.
- l3: Indicates the IP protection strategy.
- l4: Indicates the port protection strategy.
actionType
Optional
public java.lang.Object getActionType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property actionType: Operation type ActionType = 10 Modify policy name ActionType = 11 Modify whitelist and whitelist timeout ActionType = 12 modify add white high anti-back source network segment switch ActionType = 13 Modify the switch to discard ICMP ActionType = 20 Add black and white list ActionType = 21 Delete whitelist and whitelist ActionType = 22 Clear White List ActionType = 23 Clear the blacklist ActionType = 30 Modify Smart Switch ActionType = 31 Modify regional ban ActionType = 32 Modify Source Speed Limit Black ActionType = 34 Modifying Reflective Port Filtering ActionType = 40,41,42 Create, delete, and modify Port rules ActionType = 50,51,52 Create, delete, and modify fingerprint rules ActionType = 60 switch L4 protection ActionType = 61,62,63 Create, delete, and modify L4 rules.
blackIpList
Optional
public java.lang.Object getBlackIpList();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property blackIpList: Blacklist list.
content
Optional
public java.lang.Object getContent();
- Type: com.aliyun.ros.cdk.core.IResolvable OR ContentProperty
Property content: Configuration Content.
whiteIpList
Optional
public java.lang.Object getWhiteIpList();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property whiteIpList: Whitelist IP list.