Using authorizer with dynamodb