VMware Cloud on AWS is an offering wherein on AWS hardware we run VMware software stack. You can refer to VMware Cloud for more details.
I am not able to understand when you say L2 / L3 ? Are you referring L2 / L3 VPN here .. ?
To connect your OnPrem to Cloud we have multiple options.
You can have L2 / L3 VPN ; Direct Connect and HCX component can used as well
I would suggest you to go through VMware Cloud on AWS Documentation which will cover all the aspects. I hope this helps.
Let us know if you have additional queries.