q:CreateAssignment is a Write access-level action in the q service. Grants permission to create a user or group assignment for an Amazon Q Developer Profile
ARNs that q:CreateAssignment can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants q:CreateAssignment.
Filters access by the tags associated with the Amazon Q resource
A minimal policy that allows q:CreateAssignment. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowQCreateAssignment",
"Effect": "Allow",
"Action": "q:CreateAssignment",
"Resource": "*"
}
]
}