Since you mentioned ALB, I assume you are using the AWS Loadbalancer Controller as your Ingress provider.
You can use fixed-response-actions feature of the ALB to show custom HTML responses for specific HTTP response codes.
Please look at the sample Ingress manifest shown in this documentation to understand how to set fixed-response actions in your Ingress manifest.
I hope this answers your question!
Proactive maintenanceAccepted Answerasked 4 years ago
How do I get additional information about pending maintenance?asked 3 months ago
application load balancer schedule changes/maintenance pageasked 3 years ago
How can I update the maintenance window and apply the new features or new ONTAP version for FSx for ONTAP earlier than existing weekly maintenance window?Accepted Answerasked a year ago
Where to see RabbitMQ maintenance events? And can maintenance trigger some kind of notification?asked 10 months ago
Custom Maintenance Page for ALB on 502 errorasked 23 days ago
Bad Gateway 502 following AWS maintenance on EC2 instanceAccepted Answerasked 8 days ago
Bug in RDS UI: Maintenance Apply date isn't shown immediately after setting itasked 3 months ago
Message "server is undergoing maintenance"asked 5 months ago
State Manager vs Maintenance WindowAccepted Answerasked 2 years ago