Serverless-application-model: Missing CORS configuration for HttpApi

Created on 5 Dec 2019  路  3Comments  路  Source: aws/serverless-application-model

Description:

The newly released HttpApi type has support for CORS configuration through CloudFormation but it seems to be missing from SAM (see CF docs).

Most helpful comment

Correct. This will be a follow-on item to our launch for HttpApis.

All 3 comments

Correct. This will be a follow-on item to our launch for HttpApis.

When referencing ApiId in a HttpApi event source, could I directly reference the api id of AWS::ApiGatewayV2::Api to bypass AWS::Serverless::HttpApi? What benefits do I lose?

This is released in v1.22.0

Was this page helpful?
0 / 5 - 0 ratings