organizations:ListTargetsForPolicy

List

organizations:ListTargetsForPolicy is a List access-level action in the organizations service. Grants permission to list all the roots, OUs, and accounts to which a policy is attached

Resource types

ARNs that organizations:ListTargetsForPolicy can be scoped to in an IAM policy.

arn:${Partition}:organizations::${Account}:policy/o-${OrganizationId}/${PolicyType}/p-${PolicyId}
policy

Condition keys

Keys you can use in the Condition block of a policy that grants organizations:ListTargetsForPolicy.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOrganizationsListTargetsForPolicy",
      "Effect": "Allow",
      "Action": "organizations:ListTargetsForPolicy",
      "Resource": "*"
    }
  ]
}

Related actions in organizations

View all organizations actions →