Yildirimhan Aydin

Serverless Toggle Switch

Serverless Toggle Switch

This is a serverless switch panel that reads and toggles a value from an AWS Lambda backend.

  • Uses AWS Lambda + S3 + API Gateway
  • Reads value via iframe
  • Changes value via a button (GET request)

Architecture Diagram

Features

  • 💡 Iframe displays the current variable state.
  • 🔁 Button sends a request to change the variable.
  • ☁ Entirely serverless using AWS services.

You can try the live version via the link below.

👉 Try Live Version - Get Variable

👉 Try Live Version - Change Variable

Tags: #aws #lambda #api #javascript