If you find a validation job in progress, traverse entities to get the EC2 instance ID/DNS
i.e.
Start with Batch Job ID
From batch.describe_jobs() find containerInstanceArn and taskARN
From ECS find which instance is running that task
From ECS or EC2 find DNS of instance
If you find a validation job in progress, traverse entities to get the EC2 instance ID/DNS
i.e.
Start with Batch Job ID
From
batch.describe_jobs()findcontainerInstanceArnandtaskARNFrom ECS find which instance is running that task
From ECS or EC2 find DNS of instance