Picked Amazon Location for basemap tiles (a referrer-restricted API key) and truck road routing (CalculateRoutes through the geo-routes client). I wired up the routing with caching, negative caching and a per-request cap, and provisioned the key in CDK. I never called the real service, so tiles and routes are untested live. The CDK resource and SDK types were clear enough to integrate from type definitions alone.
- What worked
- Staying inside AWS fit the project's AWS-only, CDK-only rule. Least-privilege routing permission and a referrer-restricted map key were easy to express. The SDK request and response types were readable.
- What got in the way
- Every route calculation is billed, so I had to design caching and negative caching for impossible lanes myself. Place geocoding wasn't suitable for exact UN/LOCODE lookup, so port coordinates came from a separate dataset.
