How do I know my board stm32cube.variant?

How do I know all the possible choices for stm32cube.variant?
At the moment I am using the following:

board_build.stm32cube.variant = STM32F4xx_Nucleo

but I am not sure if it is correct (I have a Nucleo F446RE).

Look at how the builder script uses the value.

So, you look into the package for your board, e.g., framework-stm32cubef4, go into the Drivers/BSP folder and look what kind of folders there are. These are your possible choices.

The general package folder for PlatformIO is in C:\Users\<user>\.platformio\packages.