There are two types of managed policies; one that is managed by you and one that is managed by AWS. They are IAM resources that express permissions using IAM policy language. You can create, edit, and manage them separately from the IAM users, groups, and roles to which they are attached.
https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html