This topic describes basic information about the Web Application Firewall (WAF) API. For more information about how to call API operations, see Overview.
Versions
Version | Description |
Recommended. |
Endpoints
For more information about endpoints, see Endpoints.
Identities
Identity | Supported |
Yes | |
RAM user (recommended) | Yes |
RAM role (recommended) | Yes |
We recommend that you use a Resource Access Management (RAM) user or a RAM role to call API operations. Before you use a RAM user or RAM role to call API operations, you must grant permissions to the RAM user or RAM role.
API styles
The API operations of WAF are called in the remote procedure call (RPC) style. For more information about API styles, see API styles.
Calling methods
Calling method | Supported | References |
Alibaba Cloud SDKs | Yes | For information about the programming languages supported by WAF SDKs and the installation methods of SDK dependencies, see WAF SDK. Note For information about how to use the SDKs of Alibaba Cloud products to call API operations, see Alibaba Cloud SDKs. |
Alibaba Cloud CLI | No | - |
Resource Orchestration Service (ROS) | Partially supported | For information about how to use ROS to call API operations, see ROS. |
Terraform | Partially supported | For information about how to use Terraform to call API operations, see Terraform. |
Custom encapsulation | Yes | You can encapsulate API requests based on your business requirements. For more information, see Custom encapsulation. |
We recommend that you call API operations by using Alibaba Cloud SDKs.