codebuild:BatchGetFleets is a Read access-level action in the codebuild service. Grants permission to return an array of the Fleet objects specified by the input parameter
ARNs that codebuild:BatchGetFleets can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows codebuild:BatchGetFleets. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodebuildBatchGetFleets",
"Effect": "Allow",
"Action": "codebuild:BatchGetFleets",
"Resource": "*"
}
]
}