pcs:ListComputeNodeGroups

List

pcs:ListComputeNodeGroups is a List access-level action in the pcs service. Grants permission to list compute node groups

Resource types

ARNs that pcs:ListComputeNodeGroups can be scoped to in an IAM policy.

arn:${Partition}:pcs:${Region}:${Account}:cluster/${ClusterIdentifier}
cluster

Condition keys

Keys you can use in the Condition block of a policy that grants pcs:ListComputeNodeGroups.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowPcsListComputeNodeGroups",
      "Effect": "Allow",
      "Action": "pcs:ListComputeNodeGroups",
      "Resource": "*"
    }
  ]
}

Related actions in pcs

View all pcs actions →