Deletes an ingress or egress entry (i.e., rule) from a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
ID of the network ACL. |
|
|
Required |
Rule number for the entry to delete. |
|
|
Required |
Whether the rule to delete is an egress rule ( |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Delete an entry in the Network Access Control List (ACL).
$ec2 = new AmazonEC2(); $response = $ec2->delete_network_acl_entry('acl-4abf3f23', 1, 'true'); var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/ec2.class.php | Toggle source view (9 lines) | View on GitHub