View a markdown version of this page

Actions, resources, and condition keys for Amazon CodeGuru Profiler - Service Authorization Reference

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:

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

codeguru-profiler:AddNotificationChannels

Write

BatchGetFrameMetricData

codeguru-profiler:BatchGetFrameMetricData

List

ConfigureAgent

codeguru-profiler:ConfigureAgent

Write

CreateProfilingGroup

codeguru-profiler:CreateProfilingGroup

Write

codeguru-profiler:TagResource

Tagging, Write

DeleteProfilingGroup

codeguru-profiler:DeleteProfilingGroup

Write

DescribeProfilingGroup

codeguru-profiler:DescribeProfilingGroup

Read

GetFindingsReportAccountSummary

codeguru-profiler:GetFindingsReportAccountSummary

Read

GetNotificationConfiguration

codeguru-profiler:GetNotificationConfiguration

Read

GetPolicy

codeguru-profiler:GetPolicy

Read

GetProfile

codeguru-profiler:GetProfile

Read

GetRecommendations

codeguru-profiler:GetRecommendations

Read

ListFindingsReports

codeguru-profiler:ListFindingsReports

List

ListProfileTimes

codeguru-profiler:ListProfileTimes

List

ListProfilingGroups

codeguru-profiler:ListProfilingGroups

List

ListTagsForResource

codeguru-profiler:ListTagsForResource

List

PostAgentProfile

codeguru-profiler:PostAgentProfile

Write

PutPermission

codeguru-profiler:PutPermission

Permissions management, Write

RemoveNotificationChannel

codeguru-profiler:RemoveNotificationChannel

Write

RemovePermission

codeguru-profiler:RemovePermission

Permissions management, Write

SubmitFeedback

codeguru-profiler:SubmitFeedback

Write

TagResource

codeguru-profiler:TagResource

Tagging, Write

UntagResource

codeguru-profiler:UntagResource

Tagging, Write

UpdateProfilingGroup

codeguru-profiler: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

AddNotificationChannels

Grants permission to add up to 2 topic ARNs of existing AWS SNS topics to publish notifications

ProfilingGroup*

aws:ResourceTag/${TagKey}

Write

BatchGetFrameMetricData

Grants permission to get the frame metric data for a Profiling Group

ProfilingGroup*

aws:ResourceTag/${TagKey}

List

ConfigureAgent

Grants permission to register with the orchestration service and retrieve profiling configuration information, used by agents

ProfilingGroup*

aws:ResourceTag/${TagKey}

Write

CreateProfilingGroup

Grants permission to create a profiling group

aws:RequestTag/${TagKey}

aws:TagKeys

Write

DeleteProfilingGroup

Grants permission to delete a profiling group

ProfilingGroup*

aws:ResourceTag/${TagKey}

Write

DescribeProfilingGroup

Grants permission to describe a profiling group

ProfilingGroup*

aws:ResourceTag/${TagKey}

Read

GetFindingsReportAccountSummary

Grants permission to get a summary of recent recommendations for each profiling group in the account

Read

GetNotificationConfiguration

Grants permission to get the notification configuration

ProfilingGroup*

aws:ResourceTag/${TagKey}

Read

GetPolicy

Grants permission to get the resource policy associated with the specified Profiling Group

ProfilingGroup*

aws:ResourceTag/${TagKey}

Read

GetProfile

Grants permission to get aggregated profiles for a specific profiling group

ProfilingGroup*

aws:ResourceTag/${TagKey}

Read

GetRecommendations

Grants permission to get recommendations

ProfilingGroup*

aws:ResourceTag/${TagKey}

Read

ListFindingsReports

Grants permission to list the available recommendations reports for a specific profiling group

ProfilingGroup*

aws:ResourceTag/${TagKey}

List

ListProfileTimes

Grants permission to list the start times of the available aggregated profiles for a specific profiling group

ProfilingGroup*

aws:ResourceTag/${TagKey}

List

ListProfilingGroups

Grants permission to list profiling groups in the account

List

ListTagsForResource

Grants permission to list tags for a Profiling Group

ProfilingGroup*

aws:ResourceTag/${TagKey}

List

PostAgentProfile

Grants permission to submit a profile collected by an agent belonging to a specific profiling group for aggregation

ProfilingGroup*

aws:ResourceTag/${TagKey}

Write

PutPermission

Grants permission to update the list of principals allowed for an action group in the resource policy associated with the specified Profiling Group

ProfilingGroup*

aws:ResourceTag/${TagKey}

Permissions management, Write

RemoveNotificationChannel

Grants permission to delete an already configured SNStopic arn from the notification configuration

ProfilingGroup*

aws:ResourceTag/${TagKey}

Write

RemovePermission

Grants permission to remove the permission of specified Action Group from the resource policy associated with the specified Profiling Group

ProfilingGroup*

aws:ResourceTag/${TagKey}

Permissions management, Write

SubmitFeedback

Grants permission to submit user feedback for useful or non useful anomaly

ProfilingGroup*

aws:ResourceTag/${TagKey}

Write

TagResource

Grants permission to add or overwrite tags to a Profiling Group

ProfilingGroup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UntagResource

Grants permission to remove tags from a Profiling Group

ProfilingGroup*

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UpdateProfilingGroup

Grants permission to update a specific profiling group

ProfilingGroup*

aws:ResourceTag/${TagKey}

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

ProfilingGroup

arn:${Partition}:codeguru-profiler:${Region}:${Account}:profilingGroup/${ProfilingGroupName}

aws:ResourceTag/${TagKey}

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

aws:RequestTag/${TagKey}

Filters access by the presence of tag key-value pairs in the request

String

aws:ResourceTag/${TagKey}

Filters access by tag key-value pairs attached to the resource

String

aws:TagKeys

Filters access by the presence of tag keys in the request

ArrayOfString