We theoretically investigate spin-wave propagation through a magnetic metamaterial with spatially modulated Dzyaloshinskii-Moriya interaction. We establish an effective Schrodinger equation for spin waves and derive boundary conditions for spin waves passing through the boundary between two regions having different Dzyaloshinskii-Moriya interactions. Based on these boundary conditions, we find that the spin wave can be amplified at the boundary and the spin-wave band gap is tunable either by an external magnetic field or the strength of Dzyaloshinskii-Moriya interaction, which offers a spin-wave analog of the field-effect transistor in traditional electronics.