---
title: "Discussion on \"Create a Cross-Account IAM Authorized APIGateway with CDK\" | Hashnode"
description: "Discussion on \"Create a Cross-Account IAM Authorized APIGateway with CDK\". and connect to it using lambdas"
url: "https://hashnode.com/posts/create-a-cross-account-iam-authorized-apigateway-with-cdk/62a21b70a4c962768fc3564f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Create a Cross-Account IAM Authorized APIGateway with CDK](https://martzmakes.com/create-a-cross-account-iam-authorized-apigateway-with-cdk?utm_source=hashnode&utm_medium=feed)

and connect to it using lambdas

Jun 9, 2022 · 6 min read · martzmakes.com  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#aws-cdk](https://hashnode.com/tag/aws-cdk)
-   [#aws-lambda](https://hashnode.com/tag/aws-lambda)
-   [#rest-api](https://hashnode.com/tag/rest-api)

## Written by

[Matt Martz](https://hashnode.com/@martzmakes)

@martzmakes · Burke, VA

  
[View profile](https://hashnode.com/@martzmakes)

AWS Community Builder

I'm an AWS Community Builder and a Principal Software Architect I love all things CDK, Event Driven Architecture and Serverless

## Responses 2

Markdown supported · ⌘↵ to post

[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

[Vince Fulco](https://hashnode.com/@vince-bighire)

[Aug 31, 2022](https://hashnode.com/posts/create-a-cross-account-iam-authorized-apigateway-with-cdk/62a21b70a4c962768fc3564f/comment/630f3b7556df9e8e50258c67)

What an awesome 10K foot view example.
