ALIYUN::WAF3::Instance is used to create a Web Application Firewall (WAF) 3.0 instance.
Syntax
{
"Type": "ALIYUN::WAF3::Instance",
"Properties": {
"IgnoreExisting": Boolean,
"IntelligentLoadBalancing": Boolean,
"AutoRenew": Boolean,
"Period": Integer,
"BotWebProtection": Boolean,
"ApiSecurity": Boolean,
"AutoPay": Boolean,
"TrafficBillingProtectionThreshold": Integer,
"PayType": String,
"LogStorage": Integer,
"ElasticQps": Integer,
"DomainsExtension": Integer,
"WafVersion": String,
"ExclusiveIPAddress": Integer,
"AdditionalProtectionNodes": Integer,
"Region": String,
"QpsExtension": Integer,
"FraudDetection": Boolean,
"BotAppProtection": Boolean,
"LogService": Boolean,
"PeriodUnit": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
IgnoreExisting | Boolean | No | No | Specifies whether to ignore an existing WAF 3.0 instance. | Valid values:
If the existing WAF 3.0 instance is not created by ROS, ROS ignores the instance when you update or delete the new WAF 3.0 instance. |
IntelligentLoadBalancing | Boolean | No | No | Specifies whether to enable intelligent load balancing. | Valid values:
|
AutoRenew | Boolean | No | No | Specifies whether to enable auto-renewal. | Valid values:
|
Period | Integer | No | No | The subscription duration. | Valid values when PeriodUnit is set to Month: 1, 3, and 6. Valid values when PeriodUnit is set to Year: 1, 2, and 3. |
BotWebProtection | Boolean | No | No | Specifies whether to enable bot management for web application protection. | Valid values:
|
ApiSecurity | Boolean | No | No | Specifies whether to enable API security. | The API security feature detects responses that match specific characteristics to check whether data leak risks exist in APIs. If you enable the feature, WAF is authorized to analyze the relevant data. If you set Region to ChineseMainland, the service is deployed and data is processed in the Chinese mainland. |
AutoPay | Boolean | No | No | Specifies whether to enable automatic payment. | Valid values:
|
TrafficBillingProtectionThreshold | Integer | No | No | The threshold value for traffic billing protection. | By default, traffic billing protection is enabled for pay-as-you-go WAF 3.0 instances to resolve the issue of excessive charges caused by unexpected factors, such as HTTP flood attacks. If the actual peak traffic is higher than the threshold value for traffic billing protection, the WAF instance is added to a sandbox. WAF does not charge you fees that are generated within the hour when the WAF instance is added to a sandbox. If the actual peak traffic is lower than the threshold value within the subsequent hour, the WAF instance is automatically removed from the sandbox. For more information, see The sandbox feature. Valid values: 1000 to 100000. |
PayType | String | Yes | No | The billing method. | Valid values:
|
LogStorage | Integer | No | No | The log storage capacity. | Valid values: 3 to 150. Unit: TB. |
ElasticQps | Integer | No | No | The burstable queries per second (QPS) (pay-as-you-go). | If you experience a short-term or sudden increase in business traffic in scenarios such as promotional events, the actual QPS may exceed the sum of the QPS supported by your WAF edition and the extended QPS that you purchase. If you enable the burstable QPS (pay-as-you-go) feature in the scenarios, you are charged based on the usage of excess QPS. This feature helps prevent your instance from being added to a sandbox and ensure service continuity. Valid values: 0 to 60000. |
DomainsExtension | Integer | No | No | The extra domain. | If the number of required domains exceeds the number of free domains supported by the WAF edition, you can use this property to increase the number of domains. The count for domains does not depend on the domain type. For example, each second-level domain, subdomain, or wildcard domain is counted as a domain. Valid values: 1 to 5000. |
WafVersion | String | No | No | The edition of WAF 3.0. | Valid values:
|
ExclusiveIPAddress | Integer | No | No | The number of exclusive IP addresses. | Valid values: 0 to 100. |
AdditionalProtectionNodes | Integer | No | No | The protection nodes for a multi-cloud or hybrid-cloud environment. | If you cannot use the CNAME record mode to connect services to WAF in the public cloud from specific environments, such as a multi-cloud environment, data center, private network, or private cloud, you can purchase the nodes to protect the services by using WAF in an on-premises environment. In reverse proxy mode, each protection node can handle up to 5,000 QPS for HTTP requests or 3,000 QPS for HTTPS requests. In SDK-based traffic mirroring mode, each protection node can handle up to 15,000 QPS for HTTP or HTTPS requests. To improve protection capabilities, we recommend that you increase the number of protection nodes. Valid values: 0 to 500. |
Region | String | Yes | No | The region of the WAF 3.0 instance. | Valid values:
|
QpsExtension | Integer | No | No | The extended QPS. | Valid values: 0 to 30000. |
FraudDetection | Boolean | No | No | Specifies whether to enable risk identification. | After you purchase bot management, you can enable risk identification. If phone numbers hit suspicious behavior tags in specific scenarios, such as logon or registration scenarios, WAF blocks the requests or triggers CAPTCHA verification. You are charged based on the number of hits of the tags. Valid values:
|
BotAppProtection | Boolean | No | No | Specifies whether to enable bot management for app protection. | Valid values:
|
LogService | Boolean | No | No | Specifies whether the WAF 3.0 instance supports Simple Log Service. | Valid values:
|
PeriodUnit | String | No | No | The unit of the subscription duration. | Valid values:
|
Return values
Fn::GetAtt
InstanceId: the ID of the WAF 3.0 instance.