deleteNetworkAcl

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.

Samples


fun main() { 
   //sampleStart 
   // This example deletes the specified network ACL.
ec2Client.deleteNetworkAcl {
    networkAclId = "acl-5fb85d36"
} 
   //sampleEnd
}