AWS CodeCommit Public Repository
No, unfortunately it is not currently possible to configure AWS CodeCommit repositories to be public. They can only be accessed by users setup in IAM policies and groups.
Github and Bitbucket allow you to host public repositories.
References: