DomainConfigProps
Properties for defining a DomainConfig
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-waf-domainconfig
Initializer
import com.aliyun.ros.cdk.waf.DomainConfigProps;
DomainConfigProps.builder()
.domain(java.lang.String)
.domain(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
.isAccessProduct(java.lang.Number)
.isAccessProduct(IResolvable)
.protocols(java.lang.String)
.protocols(IResolvable)
// .httpPort(java.lang.String)
// .httpPort(IResolvable)
// .httpsPort(java.lang.String)
// .httpsPort(IResolvable)
// .httpsRedirect(java.lang.Number)
// .httpsRedirect(IResolvable)
// .httpToUserIp(java.lang.Number)
// .httpToUserIp(IResolvable)
// .loadBalancing(java.lang.Number)
// .loadBalancing(IResolvable)
// .region(java.lang.String)
// .region(IResolvable)
// .rsType(java.lang.Number)
// .rsType(IResolvable)
// .sourceIps(java.lang.String)
// .sourceIps(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
domain |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property domain: Domain name. |
instanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceId: WAF instance ID. |
isAccessProduct |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property isAccessProduct: The domain before WAF is configured with seven agents (eg, high defense, CDN, etc.), the value of: 0: none. 1: expressed. |
protocols |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property protocols: The domain supports access protocols, values: http: expressed support for the HTTP protocol. |
httpPort |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property httpPort: HTTP protocol configuration port. |
httpsPort |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property httpsPort: HTTPS protocol configuration port. |
httpsRedirect |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property httpsRedirect: HTTPS is turned forcefully jump the argument: 0: off (default) 1: Turn Description required to complete the request parameters using only HTTPS access protocol. |
httpToUserIp |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property httpToUserIp: Whether to open HTTPS access request is forwarded back to the source station via the HTTP protocol, the value of: 0: off (default) 1: Turn Note If your site does not support HTTPS back to the source, open source HTTP return (default back to the source port is port 80) function key, can be realized by WAF HTTPS access. |
loadBalancing |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property loadBalancing: Back to the source load balancing policy values: 0: IP Hash way. |
region |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property region: Examples of areas where the WAF. |
rsType |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property rsType: Back to the source address type the domain name values: 0: back to the source to IP. |
sourceIps |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceIps: Source station IP, supports a plurality of specified IP. |
domain
Required
public java.lang.Object getDomain();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property domain: Domain name.
instanceId
Required
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: WAF instance ID.
Description Interface You can view your current WAF instance ID by calling DescribePayInfo.
isAccessProduct
Required
public java.lang.Object getIsAccessProduct();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property isAccessProduct: The domain before WAF is configured with seven agents (eg, high defense, CDN, etc.), the value of: 0: none. 1: expressed.
protocols
Required
public java.lang.Object getProtocols();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property protocols: The domain supports access protocols, values: http: expressed support for the HTTP protocol.
https: support for HTTPS protocol. http, https: supports HTTP, HTTPS protocol.
httpPort
Optional
public java.lang.Object getHttpPort();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property httpPort: HTTP protocol configuration port.
When specifying a plurality of HTTP port "," separated. Example values: [80]. Configure the HTTP protocol, this parameter is required. The default value is 80. HttpPort HttpsPort with at least two parameters need to fill a request.
httpsPort
Optional
public java.lang.Object getHttpsPort();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property httpsPort: HTTPS protocol configuration port.
When specifying a plurality HTTPS port, using the "," separated. Example values: [443]. Configure the protocol is HTTPS, this parameter is required. The default value is 443. HttpPort HttpsPort with at least two parameters need to fill a request.
httpsRedirect
Optional
public java.lang.Object getHttpsRedirect();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property httpsRedirect: HTTPS is turned forcefully jump the argument: 0: off (default) 1: Turn Description required to complete the request parameters using only HTTPS access protocol.
After opening force will show a jump HTTP request is HTTPS, a default jump to 443.
httpToUserIp
Optional
public java.lang.Object getHttpToUserIp();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property httpToUserIp: Whether to open HTTPS access request is forwarded back to the source station via the HTTP protocol, the value of: 0: off (default) 1: Turn Note If your site does not support HTTPS back to the source, open source HTTP return (default back to the source port is port 80) function key, can be realized by WAF HTTPS access.
loadBalancing
Optional
public java.lang.Object getLoadBalancing();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property loadBalancing: Back to the source load balancing policy values: 0: IP Hash way.
1: represents a polling mode.
region
Optional
public java.lang.Object getRegion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property region: Examples of areas where the WAF.
Value: cn: China mainland (default) cn-hongkong: China HongKong and other overseas
rsType
Optional
public java.lang.Object getRsType();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property rsType: Back to the source address type the domain name values: 0: back to the source to IP.
1: Indicates the domain name back to the source.
sourceIps
Optional
public java.lang.Object getSourceIps();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceIps: Source station IP, supports a plurality of specified IP.
Example values: [ "1.1.1.1"].