

# Actions, resources, and condition keys for Amazon Q
<a name="list_amazonq"></a>

Amazon Q (service prefix: `q`) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:
+ Learn how to [configure this service](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/what-is.html).
+ View a list of the [API operations available for this service](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html).
+ Learn how to secure this service and its resources by [using IAM](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html) permission policies.

**Topics**
+ [Actions defined by Amazon Q](#amazonq-actions-as-permissions)
+ [Resource types defined by Amazon Q](#amazonq-resources-for-iam-policies)
+ [Condition keys for Amazon Q](#amazonq-policy-keys)

## Actions defined by Amazon Q
<a name="amazonq-actions-as-permissions"></a>

You can specify the following actions in the `Action` element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

The **Access level** column of the Actions table describes how the action is classified (List, Read, Permissions management, or Tagging). This classification can help you understand the level of access that an action grants when you use it in a policy. For more information about access levels, see [Access levels in policy summaries](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_understand-policy-summary-access-level-summaries.html).

The **Resource types** column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("\*") to which the policy applies in the `Resource` element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (\*). If you limit resource access with the `Resource` element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.

The **Condition keys** column of the Actions table includes keys that you can specify in a policy statement's `Condition` element. For more information on the condition keys that are associated with resources for the service, see the **Condition keys** column of the Resource types table.

The **Dependent actions** column of the Actions table shows additional permissions that may be required to successfully call an action. These permissions may be needed in addition to the permission for the action itself. When an action specifies dependent actions, those dependencies may apply to additional resources defined for that action, not only the first resource listed in the table.

**Note**  
Resource condition keys are listed in the [Resource types](#amazonq-resources-for-iam-policies) table. You can find a link to the resource type that applies to an action in the **Resource types (\*required)** column of the Actions table. The resource type in the Resource types table includes the **Condition keys** column, which are the resource condition keys that apply to an action in the Actions table.

For details about the columns in the following table, see [Actions table](reference_policies_actions-resources-contextkeys.html#actions_table).


****  


- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to associate an AWS resource with an Amazon Q connector
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to associate a login domain with an Amazon Q Developer Profile
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to describe multiple groups for an Amazon Q Developer Profile
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to describe multiple users for an Amazon Q Developer Profile
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to get multiple groups for an Amazon Q Developer Profile
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to get multiple users for an Amazon Q Developer Profile
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to create an artifact with Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to create a user or group assignment for an Amazon Q Developer Profile
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-identitystore_UserId](#amazonq-identitystore_UserId) <br /> [#amazonq-identitystore_GroupId](#amazonq-identitystore_GroupId)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to create OAuth user in Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:**  kms:Decrypt <br /> kms:GenerateDataKeyWithoutPlaintext <br /> kms:ReEncryptFrom <br /> kms:ReEncryptTo 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to register an OAuth application in Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:**  kms:Decrypt <br /> kms:GenerateDataKeyWithoutPlaintext <br /> kms:ReEncryptFrom <br /> kms:ReEncryptTo 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to create and configure a third party plugin in Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-plugin](#amazonq-plugin)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-aws_TagKeys](#amazonq-aws_TagKeys) <br /> [#amazonq-aws_RequestTag___TagKey_](#amazonq-aws_RequestTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to create a SCIM access token for an Amazon Q Developer Profile
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to delete a user or group assignment for an Amazon Q Developer Profile
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-identitystore_UserId](#amazonq-identitystore_UserId) <br /> [#amazonq-identitystore_GroupId](#amazonq-identitystore_GroupId)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to delete a conversation with Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to delete an OAuth application in Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:**  kms:Decrypt <br /> kms:GenerateDataKeyWithoutPlaintext <br /> kms:ReEncryptFrom <br /> kms:ReEncryptTo 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to delete a configured plugin in Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-plugin](#amazonq-plugin)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-aws_ResourceTag___TagKey_](#amazonq-aws_ResourceTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to delete a SCIM access token for an Amazon Q Developer Profile
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to disassociate a login domain from an Amazon Q Developer Profile
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to generate code from CLI commands in Amazon Q
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to generate code recommendations in Amazon Q
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to view an Amazon Q artifact
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to view results of an action in an Amazon Q artifact
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:**  cloudformation:GetResource <br /> cloudformation:GetResourceRequestStatus <br /> cloudformation:ListResourceRequests 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to view information about a specific Amazon Q connector
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to get individual messages associated with a specific conversation with Amazon Q
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to Amazon Q to get the identity metadata
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to view information about a specific configured Amazon Q plugin
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonq-plugin](#amazonq-plugin)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-aws_ResourceTag___TagKey_](#amazonq-aws_ResourceTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to get troubleshooting results with Amazon Q
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to list individual conversations associated with a specific Amazon Q user
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to read metrics to populate Amazon Q dashboard
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to list groups for an Amazon Q Developer Profile
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to list login domains for an Amazon Q Developer Profile
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to list available plugins in Amazon Q
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to list configured plugins in Amazon Q
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonq-plugin](#amazonq-plugin) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to list SCIM access tokens for an Amazon Q Developer Profile
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to list all tags associated with an Amazon Q resource
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonq-plugin](#amazonq-plugin)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-aws_ResourceTag___TagKey_](#amazonq-aws_ResourceTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to list users for an Amazon Q Developer Profile
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to allow Amazon Q to perform actions on your behalf
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to perform an action in an Amazon Q artifact
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:**  cloudformation:CancelResourceRequest <br /> cloudformation:CreateResource <br /> cloudformation:GetResource <br /> cloudformation:GetResourceRequestStatus <br /> cloudformation:ListResourceRequests <br /> cloudformation:UpdateResource <br /> iam:AttachRolePolicy <br /> iam:CreatePolicy <br /> iam:CreateRole <br /> iam:PutRolePolicy 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to reject a connection request for an Amazon Q connector
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to trigger asynchronous Amazon Q actions
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:**  kms:Decrypt <br /> kms:GenerateDataKeyWithoutPlaintext <br /> kms:ReEncryptFrom <br /> kms:ReEncryptTo 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to send a message to Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to start a conversation with Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to start a troubleshooting analysis with Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to start a troubleshooting resolution explanation with Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to associate tags with an Amazon Q resource
  - **Access level:** Tagging
  - **Resource types (\*required):**  [#amazonq-plugin](#amazonq-plugin)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-aws_ResourceTag___TagKey_](#amazonq-aws_ResourceTag___TagKey_) <br /> [#amazonq-aws_TagKeys](#amazonq-aws_TagKeys) <br /> [#amazonq-aws_RequestTag___TagKey_](#amazonq-aws_RequestTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to remove tags associated with an Amazon Q resource
  - **Access level:** Tagging
  - **Resource types (\*required):**  [#amazonq-plugin](#amazonq-plugin)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-aws_ResourceTag___TagKey_](#amazonq-aws_ResourceTag___TagKey_) <br /> [#amazonq-aws_TagKeys](#amazonq-aws_TagKeys)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to update a user or group assignment for an Amazon Q Developer Profile
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-profile](#amazonq-profile)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-identitystore_UserId](#amazonq-identitystore_UserId) <br /> [#amazonq-identitystore_GroupId](#amazonq-identitystore_GroupId)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to update OAuth user in Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:**  kms:Decrypt <br /> kms:GenerateDataKeyWithoutPlaintext <br /> kms:ReEncryptFrom <br /> kms:ReEncryptTo 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to update a conversation with Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to update an OAuth application in Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:**  kms:Decrypt <br /> kms:GenerateDataKeyWithoutPlaintext <br /> kms:ReEncryptFrom <br /> kms:ReEncryptTo 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to update a third party plugin in Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-plugin](#amazonq-plugin)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonq-aws_TagKeys](#amazonq-aws_TagKeys) <br /> [#amazonq-aws_RequestTag___TagKey_](#amazonq-aws_RequestTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to update a troubleshooting command result with Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to use Amazon Q plugins
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonq-plugin](#amazonq-plugin) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) [permission only]**
  - **Description:** Grants permission to verify an OAuth application in Amazon Q
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:**  kms:Decrypt <br /> kms:GenerateDataKeyWithoutPlaintext <br /> kms:ReEncryptFrom <br /> kms:ReEncryptTo 



## Resource types defined by Amazon Q
<a name="amazonq-resources-for-iam-policies"></a>

The following resource types are defined by this service and can be used in the `Resource` element of IAM permission policy statements. Each action in the [Actions table](#amazonq-actions-as-permissions) identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see [Resource types table](reference_policies_actions-resources-contextkeys.html#resources_table).


****  

| Resource types | ARN | Condition keys | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/as-whisper-admin.html#about-profiles](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/as-whisper-admin.html#about-profiles)  |  arn:${Partition}:codewhisperer:${Region}:${Account}:profile/${Identifier}  |  [#amazonq-aws_ResourceTag___TagKey_](#amazonq-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/plugins.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/plugins.html)  |  arn:${Partition}:qdeveloper:${Region}:${Account}:plugin/${Identifier}  |  [#amazonq-aws_ResourceTag___TagKey_](#amazonq-aws_ResourceTag___TagKey_)  | 

## Condition keys for Amazon Q
<a name="amazonq-policy-keys"></a>

Amazon Q defines the following condition keys that can be used in the `Condition` element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see [Condition keys table](reference_policies_actions-resources-contextkeys.html#context_keys_table).

To view the global condition keys that are available to all services, see [AWS global condition context keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html).


****  

| Condition keys | Description | Type | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html)  | Filters access by the tags that are passed in the request | String | 
|   [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html)  | Filters access by the tags associated with the Amazon Q resource | String | 
|   [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html)  | Filters access by the tag keys that are passed in the request | ArrayOfString | 
|   [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html)  | Filters access by IAM Identity Center Group ID | ArrayOfString | 
|   [https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security-iam-service-with-iam.html)  | Filters access by IAM Identity Center User ID | ArrayOfString | 