https://github.com/h0llyw00dzz/aws-api-gateway-proxy-setup
This repository contains a Python script that automates the setup of an API Gateway proxy in AWS using Boto3. The script creates the API Gateway, API key, usage plan, resources, methods, integrations, responses, and deployment. It also configures the AWS CLI for authentication.
https://github.com/h0llyw00dzz/aws-api-gateway-proxy-setup
aws-cli boto3 proxy
Last synced: 2 months ago
JSON representation
This repository contains a Python script that automates the setup of an API Gateway proxy in AWS using Boto3. The script creates the API Gateway, API key, usage plan, resources, methods, integrations, responses, and deployment. It also configures the AWS CLI for authentication.
- Host: GitHub
- URL: https://github.com/h0llyw00dzz/aws-api-gateway-proxy-setup
- Owner: H0llyW00dzZ
- License: mit
- Archived: true
- Created: 2023-09-30T19:42:11.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-30T19:42:13.000Z (about 2 years ago)
- Last Synced: 2025-07-30T08:05:25.079Z (2 months ago)
- Topics: aws-cli, boto3, proxy
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS API Gateway Proxy Setup
[](https://www.python.org)This repository contains a Python script that automates the setup of an API Gateway proxy in AWS using Boto3. The script creates the API Gateway, API key, usage plan, resources, methods, integrations, responses, and deployment. It also configures the AWS CLI for authentication.
## Prerequisites
Before running the script, make sure you have the following:
- Python 3.x installed
- AWS CLI installed and configured with appropriate IAM credentials## Setup
1. Clone this repository to your local machine:
```bash
git clone https://github.com/H0llyW00dzZ/aws-api-gateway-proxy-setup.git
```2. Install the required Python dependencies:
```bash
pip install -r requirements.txt
```3. Configure the AWS CLI profiles:
```bash
python main.py ACCESS_KEY SECRET_KEY
```Replace `ACCESS_KEY` and `SECRET_KEY` with your AWS access key and secret key.
## Usage
To create the API Gateway proxy, run the following command:
```bash
python main.py ACCESS_KEY SECRET_KEY
```Replace `ACCESS_KEY` and `SECRET_KEY` with your AWS access key and secret key.
The script will create the API Gateway proxy and print the URL of the deployed API Gateway.
## License
This project is licensed under the [MIT License](LICENSE). Feel free to modify and distribute the code as per the terms of the license.