Unshare an Image Builder resource from AWS RAM - EC2 Image Builder

Unshare an Image Builder resource from AWS RAM

To unshare an Image Builder resource that you own, such as a shared component, image, or recipe, you must remove it from the AWS Resource Access Manager resource share. You can do this using the AWS RAM console or the AWS 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 AWS Resource Access Manager console

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

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

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