Unshare an Image Builder resource from Amazon RAM - EC2 Image Builder
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Unshare an Image Builder resource from Amazon RAM

To unshare an Image Builder resource that you own, such as a shared component, image, or recipe, you must remove it from the Amazon Resource Access Manager resource share. You can do this using the Amazon RAM console or the Amazon CLI.

Note

Owners cannot delete a shared resource until it is no longer shared. An owner cannot unshare these resources until none of the consumers depend on them.

To unshare a shared component, image, or recipe that you own using the Amazon Resource Access Manager console

See Updating a Resource Share in the Amazon RAM User Guide.

To unshare a shared component, image, or recipe that you own using the Amazon CLI

Use the disassociate-resource-share command to stop sharing the resource.