codeguru-profiler:GetRecommendations

Read

codeguru-profiler:GetRecommendations is a Read access-level action in the codeguru-profiler service. Grants permission to get recommendations

Resource types

ARNs that codeguru-profiler:GetRecommendations can be scoped to in an IAM policy.

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

Condition keys

Keys you can use in the Condition block of a policy that grants codeguru-profiler:GetRecommendations.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

A minimal policy that allows codeguru-profiler:GetRecommendations. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodeguruprofilerGetRecommendations",
      "Effect": "Allow",
      "Action": "codeguru-profiler:GetRecommendations",
      "Resource": "*"
    }
  ]
}

Related actions in codeguru-profiler

View all codeguru-profiler actions →