Skip to content

Deletes the specified network ACL

Description

Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.

Usage

ec2_delete_network_acl(DryRun, NetworkAclId)

Arguments

  • DryRun

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • NetworkAclId

    [required] The ID of the network ACL.

Value

An empty list.

Request syntax

svc$delete_network_acl(
  DryRun = TRUE|FALSE,
  NetworkAclId = "string"
)

Examples

# This example deletes the specified network ACL.
svc$delete_network_acl(
  NetworkAclId = "acl-5fb85d36"
)