AWS

Download 186
Last updated Feb 21, 2024

aws-elasticbeanstalk-environments

Returns the descriptions of existing AWS Elastic Beanstalk environments.

aws-elasticbeanstalk-environments [profile=PROFILE] [region=REGION]
profile=PROFILE
The identifier of AWS connect profile
region=REGION
AWS region

AWS IAM Policy

To use this command, you must allow the below permissions in your AWS IAM policy:

  • elasticbeanstalk:DescribeEnvironments

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
env_idStringEnvironment IDe.g. e-igxpchytk2
env_nameStringEnvironment namee.g. Sampleapp-env
app_nameStringApplication namee.g. sample app
cnameStringCNAMEe.g. Sampleapp-env.4kzx3upbra.ap-northeast-2.elasticbeanstalk.com
version_labelStringVersion labele.g. Sample Application
statusStringStatuse.g. Launching, Ready
healthStringHealthe.g. Grey, Green
health_statusStringHealth statuse.g. Pending, Ok
abortableBoolAbortable
descriptionStringDescription
endpoint_urlStringEndpoint URLe.g. awseb-AWSEB-ID.REGION.elb.amazonaws.com
load_balancer_nameStringLoad balancer name
load_balancer_domainStringLoad balancer domain
load_balancer_listenersStringLoad balancer listenersElements with port and protocol properties
tier_nameStringTier namee.g. WebServer
tier_typeStringTier typee.g. Standard
tier_versionStringTier versione.g. 1.0
platform_arnStringPlatform ARNarn:aws:elasticbeanstalk:REGION::platform/PLATFORM_VER
solution_stack_nameStringSolution stack namee.g. 64bit Amazon Linux 2 v3.3.13 running PHP 8.0
template_nameStringTemplate name
env_arnStringEnvironment ARNarn:aws:elasticbeanstalk:REGION:ACCOUNT:environment/APP_NAME/ENV_NAME
env_linksListEnvironment links
created_atDateCreated at
updated_atDateUpdated at