AWS SDK for Ruby
Developer Guide

Getting Information about All Applications in AWS Elastic Beanstalk

The following example lists the names, descriptions, and URLs of all of your Elastic Beanstalk applications in the us-west-2 region.

require 'aws-sdk-elasticbeanstalk' # v2: require 'aws-sdk' eb = 'us-west-2') eb.describe_applications.applications.each do |a| puts "Name: #{a.application_name}" puts "Description: #{a.description}" eb.describe_environments({application_name: a.application_name}).environments.each do |env| puts " Environment: #{env.environment_name}" puts " URL: #{env.cname}" puts " Health: #{}" end end