Amazon CodeGuru Profiler permissions reference
You can use AWS-wide condition keys in your CodeGuru Profiler policies to express conditions. For a list, see the IAM JSON Policy Elements Reference in the IAM User Guide.
You specify the actions in the policy's Action
field. To specify an
action, use the codeguru-profiler:
prefix followed by the API operation name (for
example, codeguru-profiler:CreateProfilingGroup
and
codeguru-profiler:GetFindingsReport
). To specify multiple actions in a single
statement, separate them with commas (for example, "Action": [
"codeguru-profiler:CreateProfilingGroup", "codeguru-profiler:GetFindingsReport" ]
).
Using wildcard characters
You specify an ARN, with or without a wildcard character (*), as the resource value in
the policy's Resource
field. You can use a wildcard to specify multiple
actions or resources. For example, codeguru-profiler:*
specifies all CodeGuru Profiler actions
and codeguru-profiler:Get*
specifies all CodeGuru Profiler actions that begin with the word
Get
. The following example refers to all profiling groups with names that
begin with my
.
arn:aws:codeguru-profiler:us-east-2:123456789012:profilingGroup/my*
You can use the following table as a reference when you are setting up authenticating with identities in CodeGuru Profiler and writing permissions policies that you can attach to an IAM identity (identity-based policies).
CodeGuru Profiler API operations | Required permissions (API actions) | Resources |
---|---|---|
ConfigureAgent |
Required for an agent to register with an orchestration service and retrieve profiling configuration information. |
|
CreateProfilingGroup |
Required to create a profiling group. |
|
DeleteProfilingGroup |
Required to delete a profiling group. |
|
DescribeProfilingGroup |
Required to get information about a profiling group. |
|
GetFindingsReport |
Required to get a recommendations report. |
|
GetFindingsReportAccountSummary |
Required to get a summary of recent recommendations for each profiling group in an AWS account. |
|
GetPolicy |
Required to get the resource policy that is associated with a profiling group. |
|
GetProfile |
Required to get aggregated profiles for one profiling group. |
|
GetRecommendations |
Required to get recommendations. |
|
ListFindingsReports |
Required to list recommendations reports for one profiling group. |
|
ListProfileTimes |
Required to list the start times of profiles for one profiling group. |
|
ListProfilingGroups |
Required to list the profiling groups in one AWS account. |
|
PostAgentProfile |
Required to submit a profile for aggregation. |
|
PutPermission |
Required to update the list of principals for an action group in the resource policy of a profiling group. |
|
RemovePermission |
Required to remove the permission of an action group from the resource policy of a profiling group. |
|
UpdateProfilingGroup |
Required to update a profiling group. |
|