A resin composition comprising: a bismaleimide compound comprising a constituent unit represented by the following formula, and maleimide groups at both ends of the molecular chain, at least two maleimide compounds selected from the group consisting of a compound represented by the following formula, a compound represented by the following formula, a compound represented by the following formula, a compound represented by the following formula, a compound represented by the following formula, and a compound represented by the following formula, a photo initiator and a compound comprising one or more carboxy groups: wherein R 1 represents a linear or branched alkylene group having 1 to 16 carbon atoms, or a linear or branched alkenylene group having 2 to 16 carbon atoms; R 2 represents a linear or branched alkylene group having 1 to 16 carbon atoms, or a linear or branched alkenylene group having 2 to 16 carbon atoms; each R 3 independently represents a hydrogen atom, a linear or branched alkyl group having 1 to 16 carbon atoms, or a linear or branched alkenyl group having 2 to 16 carbon atoms; and each n 1 independently represents an integer of 1 to 10, wherein each of R 4, R 5, and R 6 independently represents a hydrogen atom, a hydroxyl group, or a linear or branched alkyl group having 1 to 6 carbon atoms and optionally having a substituent; and n 2 represents an integer of 1 to 10, wherein each R 7 independently represents a hydrogen atom or a methyl group; and n 3 represents an integer of 1 to 10, wherein each of R 8, R 9, and R 10 independently represents a hydrogen atom, or a linear or branched alkyl group having 1 to 8 carbon atoms and optionally having a substituent, wherein each R 11 independently represents a hydrogen atom, a methyl group, or an ethyl group; and each R 12 independently represents a hydrogen atom or a methyl group, wherein each R 13 independently represents a hydrogen atom, a methyl group, or an ethyl group, and wherein each R 14 independently represents a hydrogen atom or a methyl group; and n 4 represents an integer of 1 to 10. a bismaleimide compound comprising a constituent unit represented by the following formula, and maleimide groups at both ends of the molecular chain, at least two maleimide compounds selected from the group consisting of a compound represented by the following formula, a compound represented by the following formula, a compound represented by the following formula, a compound represented by the following formula, a compound represented by the following formula, and a compound represented by the following formula, a photo initiator and a compound comprising one or more carboxy groups: wherein R 1 represents a linear or branched alkylene group having 1 to 16 carbon atoms, or a linear or branched alkenylene group having 2 to 16 carbon atoms; R 2 represents a linear or branched alkylene group having 1 to 16 carbon atoms, or a linear or branched alkenylene group having 2 to 16 carbon atoms; each R 3 independently represents a hydrogen atom, a linear or branched alkyl group having 1 to 16 carbon atoms, or a linear or branched alkenyl group having 2 to 16 carbon atoms; and each n 1 independently represents an integer of 1 to 10, wherein each of R 4, R 5, and R 6 independently represents a hydrogen atom, a hydroxyl group, or a linear or branched alkyl group having 1 to 6 carbon atoms and optionally having a substituent; and n 2 represents an integer of 1 to 10, wherein each R 7 independently represents a hydrogen atom or a methyl group; and n 3 represents an integer of 1 to 10, wherein each of R 8, R 9, and R 10 independently represents a hydrogen atom, or a linear or branched alkyl group having 1 to 8 carbon atoms and optionally having a substituent, wherein each R 11 independently represents a hydrogen atom, a methyl group, or an ethyl group; and each R 12 independently represents a hydrogen atom or a methyl group, wherein each R 13 independently represents a hydrogen atom, a methyl group, or an ethyl group, and wherein each R 14 independently represents a hydrogen atom or a methyl group; and n 4 represents an integer of 1 to 10.