I have a api gateway that was created using the aws console a long time ago, and now I would like to attach that gateway to a cloudformation stack using the template. I know the resource's logical ID, but I'm having a hard time passing the logical Id to the stack during my update operation. Is this possible without using the console? I'm aware of the console functionality to import resources to a stack, I'm trying to achieve this using a template.