View a markdown version of this page

Actions, resources, and condition keys for AWS Compute Optimizer Automation - Service Authorization Reference

Actions, resources, and condition keys for AWS Compute Optimizer Automation

AWS Compute Optimizer Automation (service prefix: aco-automation) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by AWS Compute Optimizer Automation

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

AssociateAccounts

aco-automation:AssociateAccounts

Write

CreateAutomationRule

aco-automation:CreateAutomationRule

Write

aco-automation:TagResource

Tagging, Write

DeleteAutomationRule

aco-automation:DeleteAutomationRule

Write

DisassociateAccounts

aco-automation:DisassociateAccounts

Write

GetAutomationEvent

aco-automation:GetAutomationEvent

Read

GetAutomationRule

aco-automation:GetAutomationRule

Read

GetEnrollmentConfiguration

aco-automation:GetEnrollmentConfiguration

Read

ListAccounts

aco-automation:ListAccounts

List

ListAutomationEventSteps

aco-automation:ListAutomationEventSteps

List

ListAutomationEventSummaries

aco-automation:ListAutomationEventSummaries

List

ListAutomationEvents

aco-automation:ListAutomationEvents

List

ListAutomationRulePreview

aco-automation:ListAutomationRulePreview

List

ec2:DescribeVolumes

List

ListAutomationRulePreviewSummaries

aco-automation:ListAutomationRulePreviewSummaries

List

ListAutomationRules

aco-automation:ListAutomationRules

List

ListRecommendedActionSummaries

aco-automation:ListRecommendedActionSummaries

List

ListRecommendedActions

aco-automation:ListRecommendedActions

List

ec2:DescribeVolumes

List

ListTagsForResource

aco-automation:ListTagsForResource

List

RollbackAutomationEvent

aco-automation:RollbackAutomationEvent

Write

StartAutomationEvent

aco-automation:StartAutomationEvent

Write

TagResource

aco-automation:TagResource

Tagging, Write

UntagResource

aco-automation:UntagResource

Tagging, Write

UpdateAutomationRule

aco-automation:UpdateAutomationRule

Write

UpdateEnrollmentConfiguration

aco-automation:UpdateEnrollmentConfiguration

Write

Actions defined by AWS Compute Optimizer Automation

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

AssociateAccounts

Grants permission to associate member accounts with the management account

Write

CreateAutomationRule

Grants permission to create automation rule

aws:RequestTag/${TagKey}

aws:TagKeys

Write

DeleteAutomationRule

Grants permission to delete automation rule

AutomationRule*

aws:ResourceTag/${TagKey}

Write

DisassociateAccounts

Grants permission to disassociate member accounts from the management account

Write

GetAutomationEvent

Grants permission to get automation event details

Read

GetAutomationRule

Grants permission to get automation rule

AutomationRule*

aws:ResourceTag/${TagKey}

Read

GetEnrollmentConfiguration

Grants permission to get enrollment configuration

Read

ListAccounts

Grants permission to list the accounts in your organization that are enrolled in Compute Optimizer and whether they have enabled the Automation feature

List

ListAutomationEventSteps

Grants permission to list automation event steps

List

ListAutomationEventSummaries

Grants permission to list automation event summaries

List

ListAutomationEvents

Grants permission to list automation events

List

ListAutomationRulePreview

Grants permission to list automation rule preview results

List

ListAutomationRulePreviewSummaries

Grants permission to list automation rule preview summaries

List

ListAutomationRules

Grants permission to list automation rules

List

ListRecommendedActionSummaries

Grants permission to list recommended action summaries

List

ListRecommendedActions

Grants permission to list recommended actions

List

ListTagsForResource

Grants permission to list tags for automation rule

AutomationRule*

aws:ResourceTag/${TagKey}

List

RollbackAutomationEvent

Grants permission to initiate a rollback for an automation event

Write

StartAutomationEvent

Grants permission to initiate an on-demand automation for a recommended action

Write

TagResource

Grants permission to add tags to automation rule

AutomationRule*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UntagResource

Grants permission to remove tags from automation rule

AutomationRule*

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UpdateAutomationRule

Grants permission to update automation rule

AutomationRule*

aws:ResourceTag/${TagKey}

Write

UpdateEnrollmentConfiguration

Grants permission to update enrollment configuration for the Compute Optimizer automation feature

Write

Resource types defined by AWS Compute Optimizer Automation

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

AutomationRule

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

aws:ResourceTag/${TagKey}

Condition keys for AWS Compute Optimizer Automation

AWS Compute Optimizer Automation defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

aws:RequestTag/${TagKey}

Filters access by the tags that are passed in the request

String

aws:ResourceTag/${TagKey}

Filters access by the tags associated with the resource

String

aws:TagKeys

Filters access by the tag keys that are passed in the request

ArrayOfString