Srini Vas
Srini Vas

Reputation: 29

can we block particular branch in aws code commit repository

Right now we have few branches in aws code commit one of the repository like master , develop , release and main branches. I don't want any developer commit the code into main branch but i want that branch will be there only because we have code on that. How we will restrict that main branch

Upvotes: 0

Views: 850

Answers (1)

shariqmaws
shariqmaws

Reputation: 8890

You can do so via IAM policy restrictions on the User. Following documents provide the details on the steps required:

Upvotes: 1

Related Questions