codedeploy:ListDeploymentInstances

List

codedeploy:ListDeploymentInstances is a List access-level action in the codedeploy service. Grants permission to get information about all instances in a deployment associated with the IAM user

Resource types

ARNs that codedeploy:ListDeploymentInstances can be scoped to in an IAM policy.

arn:${Partition}:codedeploy:${Region}:${Account}:deploymentgroup:${ApplicationName}/${DeploymentGroupName}
deploymentgroup

Condition keys

Keys you can use in the Condition block of a policy that grants codedeploy:ListDeploymentInstances.

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows codedeploy:ListDeploymentInstances. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodedeployListDeploymentInstances",
      "Effect": "Allow",
      "Action": "codedeploy:ListDeploymentInstances",
      "Resource": "*"
    }
  ]
}

Related actions in codedeploy

View all codedeploy actions →