Pattern-Based Generation of AMF Configurations