Sorry for being unclear in my objectives. I've deleted the previous posts to not confuse anyone.
Let's call this LED A (I do not have it)

And this LED B (I have it)

My purpose: To replace my car's original parking lights (which currently uses a filament bulb of 5W) with a white LED. I want to know the components to build LED A.
Why: Because when I plug in LED B, LED B would flash only once in awhile. (this would trigger an error on my on board computer saying my bulb has blown and i need to replace it.) I've tried LED B with a 5W 100ohm ceramic resistor and it works (no error) but is troublesome because it requires me to attach the resistor which is big and bulky. I want a simple plug and play LED like LED A. It is proven that LED A works without anything like resistor or what attached. So I want to try to make it.
Now that you tell me LED A has a constant current driver, does that mean the on board computer on my car measures the current (amps) and not the watts of the bulb to sense the error?
Currently, I know on LED A there are:
-2x LED (1 back and 1 front)
-2x 150ohm SMD resistors
-1x 270ohm SMD resistors
-1x unknown SOT-23 (the one circled in red, appears to be a transistor)
-2x unknown value small resistors (circled in pink)
What other information you need please let me know. Thank you guys!
