Table: aws_elasticbeanstalk_environments

This table shows data for AWS Elastic Beanstalk Environments.

https://docs.aws.amazon.com/elasticbeanstalk/latest/APIReference/API_EnvironmentDescription.html (opens in a new tab)

The composite primary key for this table is (account_id, id).

Relations

The following tables depend on aws_elasticbeanstalk_environments:

Columns

NameType
_cq_iduuid
_cq_parent_iduuid
account_id (PK)utf8
arnutf8
regionutf8
tagsjson
id (PK)utf8
listenersjson
abortable_operation_in_progressbool
application_nameutf8
cnameutf8
date_createdtimestamp[us, tz=UTC]
date_updatedtimestamp[us, tz=UTC]
descriptionutf8
endpoint_urlutf8
environment_arnutf8
environment_idutf8
environment_linksjson
environment_nameutf8
healthutf8
health_statusutf8
operations_roleutf8
platform_arnutf8
resourcesjson
solution_stack_nameutf8
statusutf8
template_nameutf8
tierjson
version_labelutf8

Example Queries

These SQL queries are sampled from CloudQuery policies and are compatible with PostgreSQL.

Elastic Beanstalk environments should have enhanced health reporting enabled

SELECT
  'Elastic Beanstalk environments should have enhanced health reporting enabled'
    AS title,
  account_id,
  arn AS resource_id,
  CASE
  WHEN health_status IS NULL OR health_status = '' OR health IS NULL THEN 'fail'
  ELSE 'pass'
  END
    AS status
FROM
  aws_elasticbeanstalk_environments;