Trusted resources
With AWS Management Console Private Access, you can restrict which resources users access through the AWS Management Console to those that belong to your AWS organization. These policies layer on top of the principal-based restrictions described in Trusted identities; they further limit which resources the allowed principals can reach after signing in.
-
AWS Management Console VPC endpoint policies – Use the
aws:ResourceOrgIDoraws:ResourceAccountcondition keys.aws:ResourceOrgIDrestricts access to resources in a specific AWS organization.aws:ResourceAccountrestricts access to resources in a specific AWS account.
Note
The following examples are reference policies for illustration only. For
production environments, use the comprehensive data perimeter policy examples in the
aws-samples/data-perimeter-policy-examples
Example: Allow access only to resources in your organization
This AWS Management Console VPC endpoint policy uses aws:ResourceOrgID to allow
access only to resources in the specified AWS organization.
Example: Allow access only to resources in specific accounts
This AWS Management Console VPC endpoint policy uses aws:ResourceAccount to allow
access only to resources in a specific list of AWS accounts.