codebuild:DeleteSourceCredentials is a Write access-level action in the codebuild service. Grants permission to delete a set of GitHub, GitHub Enterprise, or Bitbucket source credentials
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows codebuild:DeleteSourceCredentials. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodebuildDeleteSourceCredentials",
"Effect": "Allow",
"Action": "codebuild:DeleteSourceCredentials",
"Resource": "*"
}
]
}