I am trying to create an api gateway that uses AWS...
# aws
w
I am trying to create an api gateway that uses AWS_IAM as the Authorization on each endpoint and following the docs I used the
iamAuthEnabled
property but when deployed the API endpoints have Authorization set to
None
. Is there something that I am missing or is
iamAuthEnabled
not the correct way to add
AWS_IAM
authorization? Example of my API code:
Copy code
const testAPI = new awsx.classic.apigateway.API('testAPI', {
    routes: [
        {
            path: '/test',
            method: 'GET',
            eventHandler: myFunction,
            iamAuthEnabled: true
        }
    ]
});