codedeploy:BatchGetDeploymentInstances is a Read access-level action in the codedeploy service. Grants permission to get information about one or more instance that are part of a deployment group
ARNs that codedeploy:BatchGetDeploymentInstances can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants codedeploy:BatchGetDeploymentInstances.
Filters actions based on tag key-value pairs attached to the resource
A minimal policy that allows codedeploy:BatchGetDeploymentInstances. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodedeployBatchGetDeploymentInstances",
"Effect": "Allow",
"Action": "codedeploy:BatchGetDeploymentInstances",
"Resource": "*"
}
]
}