I\'m serving both my API (API Gateway + Lambda) and SPA (using S3) off of a single CloudFront distribution. S3 is configured as a Static Website with its index and error doc