compute-optimizer:GetEnrollmentStatus is a List access-level action in the compute-optimizer service. Grants permission to get the enrollment status for the specified account
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows compute-optimizer:GetEnrollmentStatus. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowComputeoptimizerGetEnrollmentStatus",
"Effect": "Allow",
"Action": "compute-optimizer:GetEnrollmentStatus",
"Resource": "*"
}
]
}