ComputeOptimizerServiceRolePolicy
Last Modified
May 27, 2026
May 27, 2026 at 06:03 PM UTC
Version
v10
Total Versions
7
Created
May 27, 2026
Actions
25
Risk
MediumThe same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed
- Medium
Full compute-optimizer access on every resource
Uses compute-optimizer:* with Resource "*" and no condition, so every action AWS adds to that service later is granted too.
compute-optimizer:*Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"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"
],
"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": "*"
}
]
},
"VersionId": "v10",
"IsDefaultVersion": true,
"CreateDate": "2026-05-27T17:42:11+00:00"
}
}Version History (12 recorded)
Raw history10 actions added
scope changed, no action added or removed
ComputeOptimizerServiceRolePolicy - Policy Version v9
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
9b3f22bComputeOptimizerServiceRolePolicy - Policy Version v7
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
c5c6577ComputeOptimizerServiceRolePolicy - Policy Version v5
No recorded action delta - this version predates the change index. View the raw diff.
Nov 19, 2025
87ba57cUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Jan 3, 2025
d2b894cUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 18, 2024
aafbae9Update detected
No recorded action delta - this version predates the change index. View the raw diff.
May 13, 2024
1b36617Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Jun 13, 2022
2310b27Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Nov 29, 2021
2d0a082Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Nov 29, 2021
f65108aUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Dec 3, 2019
96785c3