api-gateway

Architect and manage Amazon API Gateway REST, HTTP, and WebSocket deployments.

2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/NagyVikt/codex-plugins --skill api-gateway-nagyvikt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-gateway
Source: https://github.com/NagyVikt/codex-plugins/tree/main/plugins/aws/aws-serverless/skills/api-gateway
Command: npx skills add https://github.com/NagyVikt/codex-plugins --skill api-gateway-nagyvikt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill simplifies the complex task of architecting, deploying, and troubleshooting Amazon API Gateway (REST, HTTP, and WebSocket) by providing standardized patterns, IaC templates, and expert guidance on security and performance.

Core Features & Use Cases

  • API Type Selection: Expert decision-making support to choose between REST, HTTP, and WebSocket APIs based on cost, latency, and management requirements.
  • IaC Generation: Provides production-ready SAM and CloudFormation templates for common patterns like private APIs, mTLS, and service integrations.
  • Troubleshooting: Rapid diagnostic workflows for common API Gateway errors such as 4xx/5xx codes, CORS failures, and timeout issues.

Quick Start

Use the api-gateway skill to generate a SAM template for a private REST API with mTLS and a custom domain.

Frequently Asked Questions about api-gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between REST, HTTP, and WebSocket APIs in Amazon API Gateway?

Choosing between REST, HTTP, and WebSocket APIs in Amazon API Gateway depends on your cost, latency, and management requirements. The skill provides decision-making support to evaluate these factors and recommend the optimal API type for your workload.

How do I generate SAM and CloudFormation templates for a private API Gateway with mTLS?

To generate SAM and CloudFormation templates for a private API Gateway with mTLS, you use infrastructure-as-code patterns. This provides production-ready IaC templates for common architectures including private APIs and custom domains.

Why does my Amazon API Gateway deployment return 4xx or 5xx errors?

Amazon API Gateway 4xx or 5xx errors often stem from configuration, CORS failures, or timeout issues. Rapid diagnostic workflows analyze these common API Gateway errors to identify and resolve the underlying problem quickly.

Can I set up multi-region resilience and governance for AWS API Gateway using infrastructure-as-code?

Yes, you can set up multi-region resilience and governance for AWS API Gateway using infrastructure-as-code. It satisfies enterprise security requirements using AWS best practices throughout the deployment lifecycle.

What is the best way to tune performance and observability for serverless API Gateway deployments?

The best way to tune performance and observability for serverless API Gateway deployments is through standardized patterns and expert guidance. This covers the full lifecycle from requirements gathering to observability setup using AWS best practices.