codedeploy:ListDeploymentGroups is a List access-level action in the codedeploy service. Grants permission to get information about all deployment groups for an application associated with the IAM user
ARNs that codedeploy:ListDeploymentGroups can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants codedeploy:ListDeploymentGroups.
Filters actions based on tag key-value pairs attached to the resource
A minimal policy that allows codedeploy:ListDeploymentGroups. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodedeployListDeploymentGroups",
"Effect": "Allow",
"Action": "codedeploy:ListDeploymentGroups",
"Resource": "*"
}
]
}