codecommit:CreateUnreferencedMergeCommit is a Write access-level action in the codecommit service. Grants permission to create an unreferenced commit that contains the result of merging two commits using either the three-way or the squash merge option; does not control Git merge actions
ARNs that codecommit:CreateUnreferencedMergeCommit can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants codecommit:CreateUnreferencedMergeCommit.
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows codecommit:CreateUnreferencedMergeCommit. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodecommitCreateUnreferencedMergeCommit",
"Effect": "Allow",
"Action": "codecommit:CreateUnreferencedMergeCommit",
"Resource": "*"
}
]
}