Cannot implicitly convert type `UnityEngine.Vector3' to `UnityEngine.Transform

I’m trying to set a fix position for the target position. However i get this error message from unity.

public Transform eggPositionLeft = new Vector3(-2f, -4f);

public Transform eggPositionLeft;

void YourFunction()
{
eggPositionLeft.transform.position = new Vector3( -2f, -4f );
}