ComputeOptimizerServiceRolePolicy
Summary
Allows ComputeOptimizer to call AWS services and collect workload details on your behalf.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/aws-service-role/ComputeOptimizerServiceRolePolicy- Default version
- v11
- Created
- Last edited
- Services
- autoscaling, cloudwatch, compute-optimizer, dynamodb, ec2, elasticache, memorydb, organizations, rds, sagemaker, workspaces
Control-plane actions (54)
By access level: 34 List, 9 Read, 11 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| EC2 Auto Scaling | 4 of 68 | 4 List; 0 restricted, 0 conditional | autoscaling:DescribeAutoScalingGroups, autoscaling:DescribeAutoScalingInstances, autoscaling:DescribePolicies, autoscaling:DescribeScheduledActions |
| CloudWatch | 1 of 160 | 1 Read; 0 restricted, 0 conditional | cloudwatch:DescribeAlarms |
| Compute Optimizer | All 28 actions (see the Compute Optimizer page) | 15 List, 2 Read, 11 Write; 0 restricted, 0 conditional | compute-optimizer:* |
| DynamoDB | 2 of 68 | 1 List, 1 Read; 0 restricted, 0 conditional | dynamodb:DescribeTable, dynamodb:ListTables |
| EC2 | 4 of 834 | 4 List; 0 restricted, 0 conditional | ec2:DescribeInstances, ec2:DescribeNatGateways, ec2:DescribeRouteTables, ec2:DescribeVolumes |
| ElastiCache | 2 of 77 | 2 List; 0 restricted, 0 conditional | elasticache:DescribeCacheClusters, elasticache:DescribeServerlessCaches |
| MemoryDB | 1 of 47 | 1 Read; 0 restricted, 0 conditional | memorydb:DescribeClusters |
| Organizations | 7 of 63 | 5 List, 2 Read; 0 restricted, 0 conditional | organizations:DescribeOrganization, organizations:DescribeOrganizationalUnit, organizations:ListAWSServiceAccessForOrganization, organizations:ListAccounts, organizations:ListChildren, organizations:ListDelegatedAdministrators, organizations:ListParents |
| RDS | 1 of 173 | 1 List; 0 restricted, 0 conditional | rds:DescribeDBClusters |
| SageMaker | 2 of 441 | 1 List, 1 Read; 0 restricted, 0 conditional | sagemaker:DescribeEndpoint, sagemaker:ListEndpoints |
| WorkSpaces | 2 of 103 | 1 List, 1 Read; 0 restricted, 0 conditional | workspaces:DescribeWorkspaces, workspaces:DescribeWorkspacesConnectionStatus |
EC2 Auto Scaling: 4 actions
- autoscaling:DescribeAutoScalingGroups (List)
- autoscaling:DescribeAutoScalingInstances (List)
- autoscaling:DescribePolicies (List)
- autoscaling:DescribeScheduledActions (List)
CloudWatch: 1 actions
- cloudwatch:DescribeAlarms (Read)
DynamoDB: 2 actions
- dynamodb:DescribeTable (Read)
- dynamodb:ListTables (List)
EC2: 4 actions
- ec2:DescribeInstances (List)
- ec2:DescribeNatGateways (List)
- ec2:DescribeRouteTables (List)
- ec2:DescribeVolumes (List)
ElastiCache: 2 actions
- elasticache:DescribeCacheClusters (List)
- elasticache:DescribeServerlessCaches (List)
MemoryDB: 1 actions
- memorydb:DescribeClusters (Read)
Organizations: 7 actions
- organizations:DescribeOrganization (Read)
- organizations:DescribeOrganizationalUnit (Read)
- organizations:ListAWSServiceAccessForOrganization (List)
- organizations:ListAccounts (List)
- organizations:ListChildren (List)
- organizations:ListDelegatedAdministrators (List)
- organizations:ListParents (List)
RDS: 1 actions
- rds:DescribeDBClusters (List)
SageMaker: 2 actions
- sagemaker:DescribeEndpoint (Read)
- sagemaker:ListEndpoints (List)
WorkSpaces: 2 actions
- workspaces:DescribeWorkspaces (List)
- workspaces:DescribeWorkspacesConnectionStatus (Read)
Data-plane actions (1)
By access level: 1 Read.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CloudWatch | 1 of 5 | 1 Read; 0 restricted, 0 conditional | cloudwatch:GetMetricData |
CloudWatch: 1 actions
- cloudwatch:GetMetricData (Read)
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: all-resources.
Can be attached: No (service-linked role policy).
Why this tier
- Grants at least 80% of the write and permissions-management actions of: compute-optimizer (11 of 11).
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
- AccessAnalyzerServiceRolePolicy
- AccountAccessManagerServiceRolePolicy
- AIDevOpsOrganizationsAccessPolicy
- AmazonDetectiveOrganizationsAccess
- AmazonDetectiveServiceLinkedRolePolicy
- AmazonDevOpsGuruOrganizationsAccess
- AmazonEKSDashboardConsoleReadOnly
- AmazonEKSDashboardServiceRolePolicy
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": [
{
"Sid": "ComputeOptimizerFullAccess",
"Effect": "Allow",
"Action": [
"compute-optimizer:*"
],
"Resource": "*"
},
{
"Sid": "AwsOrgsAccess",
"Effect": "Allow",
"Action": [
"organizations:DescribeOrganization",
"organizations:ListAccounts",
"organizations:ListAWSServiceAccessForOrganization",
"organizations:ListDelegatedAdministrators",
"organizations:ListParents",
"organizations:ListChildren",
"organizations:DescribeOrganizationalUnit"
],
"Resource": [
"*"
]
},
{
"Sid": "CloudWatchAccess",
"Effect": "Allow",
"Action": [
"cloudwatch:GetMetricData",
"cloudwatch:DescribeAlarms"
],
"Resource": "*"
},
{
"Sid": "AutoScalingAccess",
"Effect": "Allow",
"Action": [
"autoscaling:DescribeAutoScalingInstances",
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribePolicies",
"autoscaling:DescribeScheduledActions"
],
"Resource": "*"
},
{
"Sid": "Ec2Access",
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"ec2:DescribeNatGateways",
"ec2:DescribeRouteTables"
],
"Resource": "*"
},
{
"Sid": "ElastiCacheAccess",
"Effect": "Allow",
"Action": [
"elasticache:DescribeCacheClusters",
"elasticache:DescribeServerlessCaches"
],
"Resource": "*"
},
{
"Sid": "MemoryDBAccess",
"Effect": "Allow",
"Action": [
"memorydb:DescribeClusters"
],
"Resource": "*"
},
{
"Sid": "DocumentDBAccess",
"Effect": "Allow",
"Action": [
"rds:DescribeDBClusters"
],
"Resource": "*"
},
{
"Sid": "DynamoDBAccess",
"Effect": "Allow",
"Action": [
"dynamodb:ListTables",
"dynamodb:DescribeTable"
],
"Resource": "*"
},
{
"Sid": "WorkSpacesAccess",
"Effect": "Allow",
"Action": [
"workspaces:DescribeWorkspaces",
"workspaces:DescribeWorkspacesConnectionStatus"
],
"Resource": "*"
},
{
"Sid": "SageMakerAccess",
"Effect": "Allow",
"Action": [
"sagemaker:ListEndpoints",
"sagemaker:DescribeEndpoint"
],
"Resource": "*"
}
]
}
Version history
Current version v11, edited by AWS on 2026-11-06. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
This policy cannot be attached to users, groups or roles, so there are no attach snippets.
Sources
Pending editorial review. No editorial sources are listed yet.