Class DomainArgs
Inherited Members
Namespace: Pulumi.AliCloud.Waf
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class DomainArgs : ResourceArgs
Constructors
View SourceDomainArgs()
Declaration
public DomainArgs()
Properties
View SourceClusterType
The type of the WAF cluster. Valid values: "PhysicalCluster" and "VirtualCluster". Default to "PhysicalCluster".
Declaration
public Input<string> ClusterType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ConnectionTime
The connection timeout for WAF exclusive clusters. Unit: seconds.
Declaration
public Input<int> ConnectionTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
DomainName
The domain that you want to add to WAF.
Declaration
public Input<string> DomainName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Http2Ports
List of the HTTP 2.0 ports.
Declaration
public InputList<string> Http2Ports { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
HttpPorts
List of the HTTP ports
Declaration
public InputList<string> HttpPorts { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
HttpsPorts
List of the HTTPS ports
Declaration
public InputList<string> HttpsPorts { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
HttpsRedirect
Specifies whether to redirect HTTP requests as HTTPS requests. Valid values: "On" and "Off". Default to "Off".
Declaration
public Input<string> HttpsRedirect { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HttpToUserIp
Specifies whether to enable the HTTP back-to-origin feature. After this feature is enabled, the WAF instance can use HTTP to forward HTTPS requests to the origin server. By default, port 80 is used to forward the requests to the origin server. Valid values: "On" and "Off". Default to "Off".
Declaration
public Input<string> HttpToUserIp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceId
The ID of the WAF instance.
Declaration
public Input<string> InstanceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IsAccessProduct
Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
Declaration
public Input<string> IsAccessProduct { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LoadBalancing
The load balancing algorithm that is used to forward requests to the origin. Valid values: "IpHash" and "RoundRobin". Default to "IpHash".
Declaration
public Input<string> LoadBalancing { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LogHeaders
The key-value pair that is used to mark the traffic that flows through WAF to the domain. Each item contains two field:
- key: The key of label
- value: The value of label
Declaration
public InputList<DomainLogHeaderArgs> LogHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<DomainLogHeaderArgs> |
ReadTime
The read timeout of a WAF exclusive cluster. Unit: seconds.
Declaration
public Input<int> ReadTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ResourceGroupId
The ID of the resource group to which the queried domain belongs in Resource Management. By default, no value is specified, indicating that the domain belongs to the default resource group.
Declaration
public Input<string> ResourceGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceIps
List of the IP address or domain of the origin server to which the specified domain points.
Declaration
public InputList<string> SourceIps { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
WriteTime
The timeout period for a WAF exclusive cluster write connection. Unit: seconds.
Declaration
public Input<int> WriteTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |