An electronic device comprising: a display including a camera exposure area; and a camera module disposed on the camera exposure area, wherein the camera module includes: a housing fixed to the camera exposure area; a lens housing fixed to the housing, the lens housing including an opening corresponding to the camera exposure area; a lens disposed in the lens housing, the lens including an optical axis facing toward the camera exposure area; a first printed circuit board configured to move in the housing in an optical axis direction of the lens; an image sensor that faces the lens and that is mounted on one surface of the first printed circuit board; a second printed circuit board fixed to the housing and disposed on an opposite side to the image sensor with respect to the first printed circuit board; and a connecting member disposed between the first printed circuit board and the second printed circuit board and configured to transfer an electrical signal between the first printed circuit board and the second printed circuit board, wherein the connecting member is deformed as the first printed circuit board moves; wherein the connecting member includes: first contact terminals disposed on a portion of a first surface of the connecting member, wherein the first surface faces the first printed circuit board; and second contact terminals disposed on a portion of a second surface of the connecting member, wherein the second surface faces the second printed circuit board, and wherein the first contact terminals are spaced apart from the second contact terminals by at least a specified distance and are individually connected with the second contact terminals through internal wiring of the connecting member. a display including a camera exposure area; and a camera module disposed on the camera exposure area, wherein the camera module includes: a housing fixed to the camera exposure area; a lens housing fixed to the housing, the lens housing including an opening corresponding to the camera exposure area; a lens disposed in the lens housing, the lens including an optical axis facing toward the camera exposure area; a first printed circuit board configured to move in the housing in an optical axis direction of the lens; an image sensor that faces the lens and that is mounted on one surface of the first printed circuit board; a second printed circuit board fixed to the housing and disposed on an opposite side to the image sensor with respect to the first printed circuit board; and a connecting member disposed between the first printed circuit board and the second printed circuit board and configured to transfer an electrical signal between the first printed circuit board and the second printed circuit board, wherein the connecting member is deformed as the first printed circuit board moves; a housing fixed to the camera exposure area; a lens housing fixed to the housing, the lens housing including an opening corresponding to the camera exposure area; a lens disposed in the lens housing, the lens including an optical axis facing toward the camera exposure area; a first printed circuit board configured to move in the housing in an optical axis direction of the lens; an image sensor that faces the lens and that is mounted on one surface of the first printed circuit board; a second printed circuit board fixed to the housing and disposed on an opposite side to the image sensor with respect to the first printed circuit board; and a connecting member disposed between the first printed circuit board and the second printed circuit board and configured to transfer an electrical signal between the first printed circuit board and the second printed circuit board, wherein the connecting member is deformed as the first printed circuit board moves; wherein the connecting member includes: first contact terminals disposed on a portion of a first surface of the connecting member, wherein the first surface faces the first printed circuit board; and second contact terminals disposed on a portion of a second surface of the connecting member, wherein the second surface faces the second printed circuit board, and wherein the first contact terminals are spaced apart from the second contact terminals by at least a specified distance and are individually connected with the second contact terminals through internal wiring of the connecting member. first contact terminals disposed on a portion of a first surface of the connecting member, wherein the first surface faces the first printed circuit board; and second contact terminals disposed on a portion of a second surface of the connecting member, wherein the second surface faces the second printed circuit board, and wherein the first contact terminals are spaced apart from the second contact terminals by at least a specified distance and are individually connected with the second contact terminals through internal wiring of the connecting member.