Skip to main content

What is this integration?

Amazon API Gateway lets you create, publish, maintain, monitor, and secure APIs at scale.

What Monk manages

  • API Gateway resources as provided by the entity definitions

What the Agent can do and how to use it

  • API Creation: Build REST APIs, HTTP APIs, and WebSocket APIs
  • Route Management: Define routes, methods, and integration targets (Lambda, HTTP, etc.)
  • Authentication & Authorization: Configure API keys, JWT authorizers, and Lambda authorizers
  • CORS Support: Set up cross-origin resource sharing for web applications
  • Stage Management: Deploy APIs to different stages (dev, staging, production)
  • Usage Plans: Create and manage API usage plans with throttling and quotas
  • Custom Domains: Configure custom domain names with SSL certificates
Steps:
  1. Ensure AWS provider is added: monk cluster provider add -p aws
  2. monk update <namespace>/<name>

Auth

  • Uses AWS provider credentials configured via monk cluster provider add -p aws

Getting Started

  1. Ensure AWS provider is added:
  1. Define an HTTP API with a Lambda integration (save as api-gateway.yaml):
  1. Create/update: