You can now create CodeStar projects using the publicly available CodeCommit and GitHub CloudFormation resources. You can also create the initial commit for your repository through CloudFormation. Previously, customers could not easily replicate CodeStar’s resource provisioning. Now you can provision toolchain resources simply by using the CloudFormation template CodeStar configures for you. You can customize your CodeStar templates to setup a more complex continuous integration and deployment process, so you no longer need to start from scratch.

from Recent Announcements https://aws.amazon.com/about-aws/whats-new/2019/10/aws-codestar-enables-automating-toolchain-setup-through-cloudformation/