Deletes a network ACL from a VPC. The ACL must not have any subnets associated with it. You can’t delete the default 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 |
The ID of the network ACL to be deleted. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Delete a Network Access Control List (ACL).
$ec2 = new AmazonEC2(); $response = $ec2->delete_network_acl('acl-4abf3f23'); var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/ec2.class.php | Toggle source view (7 lines) | View on GitHub