Contrast that with the German states ~ now that was some stuff!
Do not confound cessation of serious hostilities with the signing of a peace treaty. The Northern provinces had had defacto independence for many years ~ but the wrap up on the Southern provinces involved French involvement ~ and they stripped off those provinces for themselves.
I know that particular part of the broader peacetreaties was important to the Dutch, but the Treaty of London (1604) pretty much kept the Americas, including all the Spanish holdings, out of the battle ~ for all practical purposes the Dutch did what they wanted (in the area South of Acadia and North of Carolana) after North America was sliced up.
The Hapsburgs, on the other hand, had their handsful for most of the duration of the 30 years war ~ in one place or the other. The Treaty of London reserved Spain's American interests for Spain, not the Hapsburgs. Probably the largest land swindle in history ~ followed only by the Louisiana Purchase and then the Mexican Cession (Which were, of course, good swindles ~ but tricky none the less ~ buying stuff from guys without good titles has it's own sort of problem)>
The 30 Years War was at base a war between the Catholic HR Austrian emperor and his Catholic allies and the much less unified Protestant states of the Empire. Left to themselves the war might have been relatively short.
The problem is that outsiders kept jumping in whenever the war looked like somebody might win. The Spanish were involved from the beginning, occupying the Palatinate. They would doubtless have been more involved, but they generally had their hands full losing their 80 Years War against the Dutch. Nevertheless Spanish armies were heavily involved in several major battles of the war in Germany.
The Danes, Swedes and French also got involved at different times. The Brits somehow managed to stay out of it, possibly because they were saving up strength for their own civil war.
A peculiar statement, since the Spanish monarchs were Hapsburgs, just from the Spanish branch of the Family.
And the Austrian branch had lost any claims they might have had to the American possessions of Spain all the way back in 1556, when Charles V abdicated, giving the Empire and the German lands to his brother Ferdinand and Spain and its possessions to his son Felipe.