AmazonCodeGuruProfilerAgentAccess
Summary
Provides access required by Amazon CodeGuru Profiler agent.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonCodeGuruProfilerAgentAccess- Default version
- v3
- Created
- Last edited
- Services
- codeguru-profiler
Control-plane actions (1)
By access level: 1 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CodeGuru Profiler | 1 of 21 | 1 Write; 1 restricted, 0 conditional | codeguru-profiler:CreateProfilingGroup |
CodeGuru Profiler: 1 actions
- codeguru-profiler:CreateProfilingGroup (Write)
Data-plane actions (2)
By access level: 2 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CodeGuru Profiler | All 2 actions (see the CodeGuru Profiler page) | 2 Write; 2 restricted, 0 conditional | codeguru-profiler:ConfigureAgent, codeguru-profiler:PostAgentProfile |
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: scoped.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 3 write, tagging or permissions-management actions, short of full control of any service.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"codeguru-profiler:ConfigureAgent",
"codeguru-profiler:CreateProfilingGroup",
"codeguru-profiler:PostAgentProfile"
],
"Resource": "arn:aws:codeguru-profiler:*:*:profilingGroup/*"
}
]
}
Version history
Current version v3, edited by AWS on 2022-05-05. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonCodeGuruProfilerAgentAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonCodeGuruProfilerAgentAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonCodeGuruProfilerAgentAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonCodeGuruProfilerAgentAccessTerraform
resource "aws_iam_role_policy_attachment" "amazoncodeguruprofileragentaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonCodeGuruProfilerAgentAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonCodeGuruProfilerAgentAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.