Create the hosting infrastructure as a standalone CDK entry point.
⚠️ Important: This must be called in a SEPARATE file (amplify/hosting.ts),
NOT inside amplify/backend.ts. Hosting deploys as an independent CloudFormation
stack so it can be deployed separately from the backend.
Create the hosting infrastructure as a standalone CDK entry point.
⚠️ Important: This must be called in a SEPARATE file (
amplify/hosting.ts), NOT insideamplify/backend.ts. Hosting deploys as an independent CloudFormation stack so it can be deployed separately from the backend.