Skip to main content
IAM Policy Map

AmazonCodeGuruProfilerFullAccess

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides full access to Amazon CodeGuru Profiler.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AmazonCodeGuruProfilerFullAccess
Default version
v4
Created
Last edited
Services
codeguru, codeguru-profiler, iam, sns

Control-plane actions (26)

By access level: 8 List, 2 Permissions management, 7 Read, 2 Tagging, 7 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CodeGuruAll 1 actions (see the CodeGuru page)1 Read; 0 restricted, 0 conditionalcodeguru:*
CodeGuru ProfilerAll 21 actions (see the CodeGuru Profiler page)5 List, 2 Permissions management, 6 Read, 2 Tagging, 6 Write; 0 restricted, 0 conditionalcodeguru-profiler:*
IAM3 of 1902 List, 1 Write; 1 restricted, 1 conditionaliam:CreateServiceLinkedRole, iam:ListRoles, iam:ListUsers
SNS1 of 401 List; 0 restricted, 0 conditionalsns:ListTopics
IAM: 3 actions
  • iam:CreateServiceLinkedRole (Write)
  • iam:ListRoles (List)
  • iam:ListUsers (List)
SNS: 1 actions
  • sns:ListTopics (List)

Data-plane actions (2)

By access level: 2 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CodeGuru ProfilerAll 2 actions (see the CodeGuru Profiler page)2 Write; 0 restricted, 0 conditionalcodeguru-profiler:*

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants at least 80% of the write and permissions-management actions of: codeguru-profiler (10 of 10).

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.

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

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": [
        "codeguru-profiler:*",
        "iam:ListRoles",
        "iam:ListUsers",
        "sns:ListTopics",
        "codeguru:*"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": [
        "iam:CreateServiceLinkedRole"
      ],
      "Effect": "Allow",
      "Resource": "arn:aws:iam::*:role/*AWSServiceRoleForCodeGuruProfiler*",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": "codeguru-profiler.amazonaws.com"
        }
      }
    }
  ]
}

Version history

Current version v4, edited by AWS on 2020-07-15. 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/AmazonCodeGuruProfilerFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonCodeGuruProfilerFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonCodeGuruProfilerFullAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AmazonCodeGuruProfilerFullAccess

Terraform

resource "aws_iam_role_policy_attachment" "amazoncodeguruprofilerfullaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonCodeGuruProfilerFullAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonCodeGuruProfilerFullAccess"),
);

Sources

Pending editorial review. No editorial sources are listed yet.