UNPKG

cdk-serverless-agentic-api

Version:

CDK construct for serverless web applications with CloudFront, S3, Cognito, API Gateway, and Lambda

69 lines 2.04 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>401 - Unauthorized</title> <style> body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; margin: 0; padding: 0; background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; display: flex; justify-content: center; align-items: center; min-height: 100vh; } .error-container { text-align: center; max-width: 500px; padding: 2rem; } .error-code { font-size: 6rem; font-weight: bold; margin: 0; opacity: 0.8; } .error-title { font-size: 2rem; margin: 1rem 0; } .error-message { font-size: 1.1rem; opacity: 0.9; line-height: 1.6; margin-bottom: 2rem; } .back-button { display: inline-block; padding: 12px 24px; background: rgba(255, 255, 255, 0.2); color: white; text-decoration: none; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.3); transition: all 0.3s ease; margin-right: 1rem; } .back-button:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); } </style> </head> <body> <div class="error-container"> <h1 class="error-code">401</h1> <h2 class="error-title">Unauthorized</h2> <p class="error-message"> You need to be authenticated to access this resource. Please log in and try again. </p> <a href="/login" class="back-button">Log In</a> <a href="/" class="back-button">Go Home</a> </div> </body> </html>