aws:PrincipalOrgPaths

An AWS condition key holding the caller's position in the organisation tree, so a policy can admit only accounts under a chosen organisational unit.

In more detail

The value is the organisation ID, the root ID and each OU ID down to the account's parent, separated by slashes and ending in a slash. Because of it, moving an account between OUs can grant or remove access, so placement becomes an access decision.

Example

o-a1b2c3d4e5/r-a1b2/ou-a1b2-wkld0001/*

Related terms

Taught in

References