This feature provides instance-level access control capabilities for dedicated instances. Adds an IP address entry to the access control polocy of an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:AddAccessControlListEntry |
update |
*AccessControlList
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AclId |
string |
Yes |
The ID of the access control list (ACL). |
acl-bp1ohqkonqybecf4llbrc |
| AclEntrys |
string |
No |
The ACL settings.
Note
You can add at most 50 IP addresses or CIDR blocks to an ACL in each call. If the IP address or CIDR block that you want to add to an ACL already exists, the IP address or CIDR block is not added. The entries that you add must be CIDR blocks. |
[{'entry': '192.168.1.0/24', 'comment': 'test'}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CEB6EC62-B6C7-5082-A45A-45A204724AC2 |
Examples
Success response
JSON format
{
"RequestId": "CEB6EC62-B6C7-5082-A45A-45A204724AC2"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.