Actions, resources, and condition keys for Amazon CodeWhisperer
Amazon CodeWhisperer (service prefix: codewhisperer) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
Actions defined by Amazon CodeWhisperer
Amazon CodeWhisperer has no API operations that can be used in the
Actions element of an IAM policy statement.
Permission-only actions for Amazon CodeWhisperer
The following actions are defined by Amazon CodeWhisperer but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to configure vended log delivery for CodeWhisperer customization resource |
Permissions management, Write |
|||
Grants permission to invoke AssociateCustomizationPermission on CodeWhisperer |
Write |
|||
Grants permission to invoke CreateCustomization on CodeWhisperer |
Write |
|||
Grants permission to invoke CreateProfile on CodeWhisperer |
Write |
|||
Grants permission to invoke DeleteCustomization on CodeWhisperer |
Write |
|||
Grants permission to invoke DeleteProfile on CodeWhisperer |
Write |
|||
Grants permission to invoke DisassociateCustomizationPermission on CodeWhisperer |
Write |
|||
Grants permission to invoke GenerateRecommendations on CodeWhisperer |
Read |
|||
Grants permission to invoke GetCustomization on CodeWhisperer |
Read |
|||
Grants permission to invoke ListCustomizationPermissions on CodeWhisperer |
List |
|||
Grants permission to invoke ListCustomizationVersions on CodeWhisperer |
List |
|||
Grants permission to invoke ListCustomizations on CodeWhisperer |
List |
|||
Grants permission to invoke ListProfiles on CodeWhisperer |
List |
|||
Grants permission to invoke ListTagsForResource on CodeWhisperer |
List |
|||
Grants permission to invoke TagResource on CodeWhisperer |
Tagging, Write |
|||
Grants permission to invoke UntagResource on CodeWhisperer |
Tagging, Write |
|||
Grants permission to invoke UpdateCustomization on CodeWhisperer |
Write |
|||
Grants permission to invoke UpdateProfile on CodeWhisperer |
Write |
Resource types defined by Amazon CodeWhisperer
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:codewhisperer:${Region}:${Account}:customization/${Identifier} |
||
arn:${Partition}:codewhisperer:${Region}:${Account}:profile/${Identifier} |
Condition keys for Amazon CodeWhisperer
Amazon CodeWhisperer defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the tags that are passed in the request |
String |
|
Filters access by the tags associated with CodeWhisperer resource |
String |
|
Filters access by the tag keys that are passed in the request |
ArrayOfString |