ecr_put_registry_policy function

Creates or updates the permissions policy for your registry