Poll Target Health Until Healthy
A 3-step recipe with Amazon Elastic Load Balancing. We can help you get access.
Recipe · 3 steps
Poll Target Health Until Healthy
Register a target and poll its health, branching on the reported state.
- Register the target with the target group to begin health checks.
- Poll the health of the registered target and branch on its reported state, retrying while it is still initializing.
- Confirm the unhealthy state by reading target health one last time so the failure reason is captured in the workflow outputs.
What you'll need to have ready
- targetGroupArn: The ARN of the existing target group to register into.
- targetId: The ID of the target to register and monitor.
- targetPort: The port the target is listening on.
For your developer
Arazzo workflow amazon-elastic-load-balancing:poll-target-health-until-healthy, 3 operations: RegisterTargets → DescribeTargetHealth → DescribeTargetHealth. Specs on APIs.io.