aws:PrincipalOrgID

AWS condition keys that compare the organisation ID of the caller (PrincipalOrgID) or of the resource (ResourceOrgID) against a value.

In more detail

Adding aws:PrincipalOrgID to a trust or bucket policy makes sure only identities from your own organisation can use it. On a VPC endpoint policy, aws:ResourceOrgID stops the endpoint reaching buckets in other organisations, which is half of a data perimeter.

Related terms

Taught in

References