Hey -- we should support the use, but it might not be simple right now. I imagine you'll have to provide the raw swagger currently. I've been working on improvements to the awsx apigateway (currently wrapping up lambda authorizers) & am hoping to add cognito authorizers as well.