---
title: "Comment by James Rajkumar on \"Create a Cross-Account IAM Authorized APIGateway with CDK\" | Hashnode"
description: "Hi Matt Martz Excellent post. I have a question regarding IAM authorization. Do you know how to apply IAM authorization to specific routes instead of all routes"
url: "https://hashnode.com/posts/create-a-cross-account-iam-authorized-apigateway-with-cdk/62a21b70a4c962768fc3564f/comment/6540ec58739ea9aa579584cf"
---

[Discussion](https://hashnode.com/posts/create-a-cross-account-iam-authorized-apigateway-with-cdk/62a21b70a4c962768fc3564f)

Comment [Create a Cross-Account IAM Authorized APIGateway with CDK](https://hashnode.com/posts/create-a-cross-account-iam-authorized-apigateway-with-cdk/62a21b70a4c962768fc3564f)

[James Rajkumar](https://hashnode.com/@jamesraj)

[Oct 31, 2023](https://hashnode.com/posts/create-a-cross-account-iam-authorized-apigateway-with-cdk/62a21b70a4c962768fc3564f/comment/6540ec58739ea9aa579584cf)

Hi [Matt Martz](https://hashnode.com/@martzcodes) Excellent post. I have a question regarding IAM authorization. Do you know how to apply IAM authorization to specific routes instead of all routes using cdk. I am not able to find a solution. My cdk code creates a "/ ANY" now
