codedeploy:BatchGetOnPremisesInstances is a Read access-level action in the codedeploy service. Grants permission to get information about one or more on-premises instances
ARNs that codedeploy:BatchGetOnPremisesInstances can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows codedeploy:BatchGetOnPremisesInstances. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodedeployBatchGetOnPremisesInstances",
"Effect": "Allow",
"Action": "codedeploy:BatchGetOnPremisesInstances",
"Resource": "*"
}
]
}