Deletes a specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.
The Dry Run parameter validates user permissions and inputs. If it is set to true, an error will always be thrown by the handler before completing the handler action. Error response will be 'DryRunOperation' if the account has proper permissions and inputs; 'UnauthorizedOperation' if the account does not have proper permissions.
Dry run validates user permissions and inputs without completing the EC2 action (true or false).
The ID of the subnet to delete. Must match an existing value in AWS.