appconfig:ListEnvironments

List

appconfig:ListEnvironments is a List access-level action in the appconfig service. Grants permission to list the environments for an application

Resource types

ARNs that appconfig:ListEnvironments can be scoped to in an IAM policy.

arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}
application

Condition keys

Keys you can use in the Condition block of a policy that grants appconfig:ListEnvironments.

aws:ResourceTag/${TagKey} String

Filters access by a tag key-value pair assigned to the AWS resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAppconfigListEnvironments",
      "Effect": "Allow",
      "Action": "appconfig:ListEnvironments",
      "Resource": "*"
    }
  ]
}

Related actions in appconfig

View all appconfig actions →