Actions, resources, and condition keys for Amazon CodeGuru Profiler
Amazon CodeGuru Profiler (service prefix: codeguru-profiler) 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
API operations defined by Amazon CodeGuru Profiler
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AddNotificationChannels |
Write |
|||
|
BatchGetFrameMetricData |
List |
|||
|
ConfigureAgent |
Write |
|||
|
CreateProfilingGroup |
Write |
|||
Tagging, Write |
||||
|
DeleteProfilingGroup |
Write |
|||
|
DescribeProfilingGroup |
Read |
|||
|
GetFindingsReportAccountSummary |
Read |
|||
|
GetNotificationConfiguration |
Read |
|||
|
GetPolicy |
Read |
|||
|
GetProfile |
Read |
|||
|
GetRecommendations |
Read |
|||
|
ListFindingsReports |
List |
|||
|
ListProfileTimes |
List |
|||
|
ListProfilingGroups |
List |
|||
|
ListTagsForResource |
List |
|||
|
PostAgentProfile |
Write |
|||
|
PutPermission |
Permissions management, Write |
|||
|
RemoveNotificationChannel |
Write |
|||
|
RemovePermission |
Permissions management, Write |
|||
|
SubmitFeedback |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateProfilingGroup |
Write |
Actions defined by Amazon CodeGuru Profiler
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.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to add up to 2 topic ARNs of existing AWS SNS topics to publish notifications |
Write |
|||
Grants permission to get the frame metric data for a Profiling Group |
List |
|||
Grants permission to register with the orchestration service and retrieve profiling configuration information, used by agents |
Write |
|||
Grants permission to create a profiling group |
Write |
|||
Grants permission to delete a profiling group |
Write |
|||
Grants permission to describe a profiling group |
Read |
|||
Grants permission to get a summary of recent recommendations for each profiling group in the account |
Read |
|||
Grants permission to get the notification configuration |
Read |
|||
Grants permission to get the resource policy associated with the specified Profiling Group |
Read |
|||
Grants permission to get aggregated profiles for a specific profiling group |
Read |
|||
Grants permission to get recommendations |
Read |
|||
Grants permission to list the available recommendations reports for a specific profiling group |
List |
|||
Grants permission to list the start times of the available aggregated profiles for a specific profiling group |
List |
|||
Grants permission to list profiling groups in the account |
List |
|||
Grants permission to list tags for a Profiling Group |
List |
|||
Grants permission to submit a profile collected by an agent belonging to a specific profiling group for aggregation |
Write |
|||
Grants permission to update the list of principals allowed for an action group in the resource policy associated with the specified Profiling Group |
Permissions management, Write |
|||
Grants permission to delete an already configured SNStopic arn from the notification configuration |
Write |
|||
Grants permission to remove the permission of specified Action Group from the resource policy associated with the specified Profiling Group |
Permissions management, Write |
|||
Grants permission to submit user feedback for useful or non useful anomaly |
Write |
|||
Grants permission to add or overwrite tags to a Profiling Group |
Tagging, Write |
|||
Grants permission to remove tags from a Profiling Group |
Tagging, Write |
|||
Grants permission to update a specific profiling group |
Write |
Resource types defined by Amazon CodeGuru Profiler
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}:codeguru-profiler:${Region}:${Account}:profilingGroup/${ProfilingGroupName} |
Condition keys for Amazon CodeGuru Profiler
Amazon CodeGuru Profiler 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 presence of tag key-value pairs in the request |
String |
|
Filters access by tag key-value pairs attached to the resource |
String |
|
Filters access by the presence of tag keys in the request |
ArrayOfString |