While not supported as it, there are workarounds: https://github.com/awslabs/serverless-application-model/issues/228#issuecomment-356090271
While not supported as it, there are workarounds: aws/serverless-application-model#228 (comment)