AWS Resource Access Manager
User Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Disabling Sharing with AWS Organizations

If you previously enabled sharing with AWS Organizations and you no longer need to share resources with your entire organization or organizational units, you can disable sharing.

To disable sharing with AWS Organizations

  1. Disable trusted access to AWS Organizations using the AWS Organizations disable-aws-service-access AWS CLI command.

    $ aws organizations disable-aws-service-access --service-principal ram.amazonaws.com

    Important

    When you disable trusted access to AWS Organizations, principals within your organizations are removed from all resource shares and lose access to those shared resources.

  2. Use the IAM console, the IAM AWS CLI, or the IAM API to delete the AWSServiceRoleForResourceAccessManager service-linked role. For more information, see Deleting a Service-Linked Role in the IAM User Guide.