elasticbeanstalk:DescribeEnvironments

List

elasticbeanstalk:DescribeEnvironments is a List access-level action in the elasticbeanstalk service. Grants permission to retrieve descriptions for existing environments

Resource types

ARNs that elasticbeanstalk:DescribeEnvironments can be scoped to in an IAM policy.

arn:${Partition}:elasticbeanstalk:${Region}:${Account}:environment/${ApplicationName}/${EnvironmentName}
environment

Condition keys

Keys you can use in the Condition block of a policy that grants elasticbeanstalk:DescribeEnvironments.

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

elasticbeanstalk:InApplication ARN

Filters access by the application that contains the resource that the action operates on

Example IAM policy

A minimal policy that allows elasticbeanstalk:DescribeEnvironments. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticbeanstalkDescribeEnvironments",
      "Effect": "Allow",
      "Action": "elasticbeanstalk:DescribeEnvironments",
      "Resource": "*"
    }
  ]
}

Related actions in elasticbeanstalk

View all elasticbeanstalk actions →