What do you mean with static content?
Do you mean fixed rooms connecting randomly between other rooms? If thats the case just spawn a random room on the door to other rooms checking that there is enough space or following whatever rules you like. What shape does the rooms have? How many doors/connections each one have? Do you want to cover an area or spawn certain amount of rooms?
There is plenty of doc on the topic (Ex: Procedural Generation Of Mazes In Unreal Engine, Part II), but you will need to be more specific about what kind of maze/generation you want.