appconfig:GetEnvironment

Read

appconfig:GetEnvironment is a Read access-level action in the appconfig service. Grants permission to view details about an environment

Resource types

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

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

Condition keys

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

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:GetEnvironment. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in appconfig

View all appconfig actions →