q:DeleteAssignment

Write

q:DeleteAssignment is a Write access-level action in the q service. Grants permission to delete a user or group assignment for an Amazon Q Developer Profile

Resource types

ARNs that q:DeleteAssignment can be scoped to in an IAM policy.

arn:${Partition}:codewhisperer:${Region}:${Account}:profile/${Identifier}
profile

Condition keys

Keys you can use in the Condition block of a policy that grants q:DeleteAssignment.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the Amazon Q resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowQDeleteAssignment",
      "Effect": "Allow",
      "Action": "q:DeleteAssignment",
      "Resource": "*"
    }
  ]
}

Related actions in q

View all q actions →