q:CreateOAuthAppConnection

Write

q:CreateOAuthAppConnection is a Write access-level action in the q service. Grants permission to register an OAuth application in Amazon Q

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Dependent actions

To use q:CreateOAuthAppConnection you may also need to grant:

Example IAM policy

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

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

Related actions in q

View all q actions →