codebuild:ListSharedProjects is a List access-level action in the codebuild service. Grants permission to return a list of project ARNs that have been shared with the requester. Each project ARN represents one project
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:ListSharedProjects. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodebuildListSharedProjects",
"Effect": "Allow",
"Action": "codebuild:ListSharedProjects",
"Resource": "*"
}
]
}