wide-whale-88803
07/19/2024, 3:36 PMiamAuthEnabled
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:
const testAPI = new awsx.classic.apigateway.API('testAPI', {
routes: [
{
path: '/test',
method: 'GET',
eventHandler: myFunction,
iamAuthEnabled: true
}
]
});