aco-automation:GetAutomationRule

Read

aco-automation:GetAutomationRule is a Read access-level action in the aco-automation service. Grants permission to get automation rule

Resource types

ARNs that aco-automation:GetAutomationRule can be scoped to in an IAM policy.

arn:${Partition}:compute-optimizer::${Account}:automation-rule/${RuleId}
AutomationRule

Condition keys

Keys you can use in the Condition block of a policy that grants aco-automation:GetAutomationRule.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in aco-automation

View all aco-automation actions →