aco-automation:ListAccounts

List

aco-automation:ListAccounts is a List access-level action in the aco-automation service. Grants permission to list the accounts in your organization that are enrolled in Compute Optimizer and whether they have enabled the Automation feature

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows aco-automation:ListAccounts. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAcoautomationListAccounts",
      "Effect": "Allow",
      "Action": "aco-automation:ListAccounts",
      "Resource": "*"
    }
  ]
}

Related actions in aco-automation

View all aco-automation actions →