pcs:DeleteComputeNodeGroup

Write

pcs:DeleteComputeNodeGroup is a Write access-level action in the pcs service. Grants permission to delete compute node groups

Resource types

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

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

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Dependent actions

To use pcs:DeleteComputeNodeGroup you may also need to grant:

Example IAM policy

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

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

Related actions in pcs

View all pcs actions →