View a markdown version of this page

AWS Compute Optimizer Automation のアクション、リソース、および条件キー - サービス認可リファレンス

AWS Compute Optimizer Automation のアクション、リソース、および条件キー

AWS Compute Optimizer Automation (サービスプレフィックス: aco-automation) では、IAM アクセス許可ポリシーで使用できるように、以下のサービス固有のオペレーション、リソース、アクション、および条件キーが用意されています。

リファレンス:

AWS Compute Optimizer Automation で定義される API オペレーション

次の表は、API オペレーションを認可する IAM アクションにマッピングします。指定された API とアクションの静的値を持つ条件キーのみが一覧表示されます。各アクションでサポートされている条件キーの完全なセットについては、「アクション」表を参照してください。

運用 IAM アクション 条件キー 指定できる値 (複数可) アクセスレベル

AssociateAccounts

aco-automation:AssociateAccounts

書き込み

CreateAutomationRule

aco-automation:CreateAutomationRule

書き込み

aco-automation:TagResource

タグ付け、書き込み

DeleteAutomationRule

aco-automation:DeleteAutomationRule

書き込み

DisassociateAccounts

aco-automation:DisassociateAccounts

書き込み

GetAutomationEvent

aco-automation:GetAutomationEvent

読み取り

GetAutomationRule

aco-automation:GetAutomationRule

読み取り

GetEnrollmentConfiguration

aco-automation:GetEnrollmentConfiguration

読み取り

ListAccounts

aco-automation:ListAccounts

リスト

ListAutomationEventSteps

aco-automation:ListAutomationEventSteps

リスト

ListAutomationEventSummaries

aco-automation:ListAutomationEventSummaries

リスト

ListAutomationEvents

aco-automation:ListAutomationEvents

リスト

ListAutomationRulePreview

aco-automation:ListAutomationRulePreview

リスト

ec2:DescribeVolumes

リスト

ListAutomationRulePreviewSummaries

aco-automation:ListAutomationRulePreviewSummaries

リスト

ListAutomationRules

aco-automation:ListAutomationRules

リスト

ListRecommendedActionSummaries

aco-automation:ListRecommendedActionSummaries

リスト

ListRecommendedActions

aco-automation:ListRecommendedActions

リスト

ec2:DescribeVolumes

リスト

ListTagsForResource

aco-automation:ListTagsForResource

リスト

RollbackAutomationEvent

aco-automation:RollbackAutomationEvent

書き込み

StartAutomationEvent

aco-automation:StartAutomationEvent

書き込み

TagResource

aco-automation:TagResource

タグ付け、書き込み

UntagResource

aco-automation:UntagResource

タグ付け、書き込み

UpdateAutomationRule

aco-automation:UpdateAutomationRule

書き込み

UpdateEnrollmentConfiguration

aco-automation:UpdateEnrollmentConfiguration

書き込み

AWS Compute Optimizer Automation で定義されるアクション

IAM ポリシーステートメントの Action エレメントでは、以下のアクションを指定できます。ポリシーを使用して、 AWSでオペレーションを実行するアクセス許可を付与します。ポリシーでアクションを使用する場合は、通常、同じ名前の API オペレーションまたは CLI コマンドへのアクセスを許可または拒否します。ただし、場合によっては、1 つのアクションによって複数のオペレーションへのアクセスが制御されます。あるいは、いくつかのオペレーションはいくつかの異なるアクションを必要とします。

アクション 説明 リソースタイプ (* 必須) 条件キー アクセスレベル

AssociateAccounts

メンバーアカウントを管理アカウントに関連付けるアクセス許可を付与します

書き込み

CreateAutomationRule

自動化ルールを作成するアクセス許可を付与します

aws:RequestTag/${TagKey}

aws:TagKeys

書き込み

DeleteAutomationRule

自動化ルールを削除するアクセス許可を付与します

AutomationRule*

aws:ResourceTag/${TagKey}

書き込み

DisassociateAccounts

管理アカウントからメンバーアカウントの関連付けを解除するアクセス許可を付与します

書き込み

GetAutomationEvent

自動化イベントの詳細を取得するアクセス許可を付与します

読み取り

GetAutomationRule

自動化ルールを取得するアクセス許可を付与します

AutomationRule*

aws:ResourceTag/${TagKey}

読み取り

GetEnrollmentConfiguration

登録設定を取得するアクセス許可を付与します

読み取り

ListAccounts

Compute Optimizer に登録されている組織内のアカウントと、自動化機能を有効にしているかどうかを一覧表示するアクセス許可を付与します

リスト

ListAutomationEventSteps

自動化イベントステップを一覧表示するアクセス許可を付与します

リスト

ListAutomationEventSummaries

自動化イベントの概要を一覧表示するアクセス許可を付与します

リスト

ListAutomationEvents

自動化イベントを一覧表示するアクセス許可を付与します

リスト

ListAutomationRulePreview

自動化ルールのプレビュー結果を一覧表示するアクセス許可を付与します

リスト

ListAutomationRulePreviewSummaries

自動化ルールのプレビュー概要を一覧表示するアクセス許可を付与します

リスト

ListAutomationRules

自動化ルールを一覧表示するアクセス許可を付与します

リスト

ListRecommendedActionSummaries

推奨されるアクションの概要を一覧表示するアクセス許可を付与します

リスト

ListRecommendedActions

推奨されるアクションを一覧表示するアクセス許可を付与します

リスト

ListTagsForResource

自動化ルールのタグを一覧表示するアクセス許可を付与します

AutomationRule*

aws:ResourceTag/${TagKey}

リスト

RollbackAutomationEvent

オートメーションイベントのロールバックを開始するアクセス許可を付与します

書き込み

StartAutomationEvent

推奨アクションのオンデマンドオートメーションを開始するアクセス許可を付与します

書き込み

TagResource

自動化ルールにタグを追加するアクセス許可を付与します

AutomationRule*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

タグ付け、書き込み

UntagResource

自動化ルールからタグを削除するアクセス許可を付与します

AutomationRule*

aws:ResourceTag/${TagKey}

aws:TagKeys

タグ付け、書き込み

UpdateAutomationRule

自動化ルールを更新するアクセス許可を付与します

AutomationRule*

aws:ResourceTag/${TagKey}

書き込み

UpdateEnrollmentConfiguration

Compute Optimizer 自動化機能の登録設定を更新する許可を付与

書き込み

AWS Compute Optimizer Automation で定義されるリソースタイプ

以下のリソースタイプは、このサービスによって定義され、IAM アクセス許可ポリシーステートメントの Resource エレメントで使用できます。

リソースタイプ: ARN 条件キー

AutomationRule

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

aws:ResourceTag/${TagKey}

AWS Compute Optimizer Automation の条件キー

AWS Compute Optimizer Automation では、IAM ポリシーの Condition要素で使用できる以下の条件キーを定義します。

条件キー 説明 タイプ

aws:RequestTag/${TagKey}

リクエストで渡されたタグでアクセスをフィルタリングします

String

aws:ResourceTag/${TagKey}

リソースに関連付けられたタグでアクセスをフィルタリングします

String

aws:TagKeys

リクエストで渡されたタグキーでアクセスをフィルタリングします

ArrayOfString