

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# AWS Performance Insights のアクション、リソース、および条件キー
<a name="list_awsperformanceinsights"></a>

AWS Performance Insights (サービスプレフィックス: `pi`) では、IAM アクセス許可ポリシーで使用できるように、以下のサービス固有のリソースやアクション、条件コンテキストキーが用意されています。

リファレンス:
+ [このサービスを設定](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html)する方法について説明します。
+ [このサービスで使用可能な API オペレーションのリスト](https://docs.aws.amazon.com/performance-insights/latest/APIReference/)を表示します。
+ [IAM アクセス許可ポリシーを使用](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.access-control.html)して、このサービスとそのリソースを保護する方法を学びます。

**Topics**
+ [AWS Performance Insights で定義されるアクション](#awsperformanceinsights-actions-as-permissions)
+ [AWS Performance Insights で定義されるリソースタイプ](#awsperformanceinsights-resources-for-iam-policies)
+ [AWS Performance Insights の条件キー](#awsperformanceinsights-policy-keys)

## AWS Performance Insights で定義されるアクション
<a name="awsperformanceinsights-actions-as-permissions"></a>

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

アクションテーブルの [**アクセスレベル**] 列では、アクションの指定方法 (リスト、読み取り、アクセス許可管理、タグ付け) について説明します。このように分類することで、ポリシーで使用する際にアクションで付与するアクセスレベルを理解しやすくなります。アクセスレベルの詳細については、「[ポリシー概要内のアクセスレベル](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_understand-policy-summary-access-level-summaries.html)」を参照してください。

[アクション] テーブルの **[リソースタイプ]** 列は、各アクションがリソースレベルの許可をサポートしているかどうかを示します。この列に値がない場合は、ポリシーステートメントの `Resource` 要素で、ポリシーが適用されるすべてのリソース (「\*」) を指定する必要があります。列にリソースタイプが含まれる場合、そのアクションを含むステートメントでそのタイプの ARN を指定できます。アクションで 1 つ以上のリソースが必須となっている場合、呼び出し元には、それらのリソースを伴うアクションを使用するための許可が付与されている必要があります。必須リソースは、アスタリスク (\*) でテーブルに示されています。IAM ポリシーの `Resource` 要素でリソースアクセスを制限する場合は、必要なリソースタイプごとに ARN またはパターンを含める必要があります。一部のアクションでは、複数のリソースタイプがサポートされています。リソースタイプがオプション (必須として示されていない) の場合、オプションのリソースタイプのいずれかを使用することを選択できます。

[アクション] テーブルの **[条件キー]** 列には、ポリシーステートメントの `Condition` 要素で指定できるキーが含まれます。サービスのリソースに関連付けられている条件キーの詳細については、[リソースタイプ] テーブルの **[条件キー]** 列を参照してください。

Actions テーブルの **[依存アクション]** 列には、アクションを正常に呼び出すために必要な追加のアクセス許可が表示されます。これらのアクセス許可は、アクション自体のアクセス許可に加えて必要になる場合があります。アクションが依存アクションを指定すると、それらの依存関係は、テーブルにリストされている最初のリソースだけでなく、そのアクションに定義された追加のリソースに適用される場合があります。

**注記**  
リソース条件キーは、[リソースタイプ](#awsperformanceinsights-resources-for-iam-policies)テーブルに一覧表示されています。アクションに適用されるリソースタイプへのリンクは、[アクション] テーブルの **[リソースタイプ (\* 必須)]** 列にあります。[リソースタイプ] テーブルのリソースタイプには、[アクション] テーブルのアクションに適用されるリソース条件キーである、**[条件キー]** 列が含まれています。

以下の表の列の詳細については、「[アクションテーブル](reference_policies_actions-resources-contextkeys.html#actions_table)」を参照してください。


****  


- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_CreatePerformanceAnalysisReport.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_CreatePerformanceAnalysisReport.html) **
  - **説明:** CreatePerformanceAnalysisReport API を呼び出して、指定した DB インスタンスのパフォーマンス分析レポートを作成する許可を付与
  - **アクセスレベル:** 書き込み
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-perf-reports-resource](#awsperformanceinsights-perf-reports-resource)  / **条件キー:**  / **依存アクション:** 
  - **リソースタイプ (\* 必須):**  / **条件キー:**  [#awsperformanceinsights-aws_RequestTag___TagKey_](#awsperformanceinsights-aws_RequestTag___TagKey_) <br /> [#awsperformanceinsights-aws_TagKeys](#awsperformanceinsights-aws_TagKeys)  / **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_DeletePerformanceAnalysisReport.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_DeletePerformanceAnalysisReport.html) **
  - **説明:** DeletePerformanceAnalysisReport API を呼び出して、指定した DB インスタンスのパフォーマンス分析レポートを削除する許可を付与
  - **アクセスレベル:** 書き込み
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-perf-reports-resource](#awsperformanceinsights-perf-reports-resource) 
  - **条件キー:** 
  - **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_DescribeDimensionKeys.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_DescribeDimensionKeys.html) **
  - **説明:** 特定の期間にメトリクスの上位 N 個のディメンションキーを取得する DescribeDimensionKeys API を呼び出す許可を付与
  - **アクセスレベル:** 読み取り
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-metric-resource](#awsperformanceinsights-metric-resource)  / **条件キー:**  / **依存アクション:** 
  - **リソースタイプ (\* 必須):**  / **条件キー:**  [#awsperformanceinsights-pi_Dimensions](#awsperformanceinsights-pi_Dimensions)  / **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetDimensionKeyDetails.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetDimensionKeyDetails.html) **
  - **説明:** 指定のディメンショングループの属性を取得する GetDimensionKeyDetails API を呼び出す許可を付与
  - **アクセスレベル:** 読み取り
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-metric-resource](#awsperformanceinsights-metric-resource)  / **条件キー:**  / **依存アクション:** 
  - **リソースタイプ (\* 必須):**  / **条件キー:**  [#awsperformanceinsights-pi_Dimensions](#awsperformanceinsights-pi_Dimensions)  / **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetPerformanceAnalysisReport.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetPerformanceAnalysisReport.html) **
  - **説明:** GetPerformanceAnalysisReport API を呼び出して、指定した DB インスタンスのパフォーマンス分析レポートを取得する許可を付与
  - **アクセスレベル:** 読み取り
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-perf-reports-resource](#awsperformanceinsights-perf-reports-resource) 
  - **条件キー:** 
  - **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetResourceMetadata.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetResourceMetadata.html) **
  - **説明:** 各種機能のメタデータを取得する GetResourceMetadata API を呼び出す許可を付与
  - **アクセスレベル:** 読み取り
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-metric-resource](#awsperformanceinsights-metric-resource) 
  - **条件キー:** 
  - **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetResourceMetrics.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetResourceMetrics.html) **
  - **説明:** 一定期間中に一連のデータソースの PI メトリクスを取得する GetResourceMetrics API を呼び出す許可を付与
  - **アクセスレベル:** 読み取り
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-metric-resource](#awsperformanceinsights-metric-resource)  / **条件キー:**  / **依存アクション:** 
  - **リソースタイプ (\* 必須):**  / **条件キー:**  [#awsperformanceinsights-pi_Dimensions](#awsperformanceinsights-pi_Dimensions)  / **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_ListAvailableResourceDimensions.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_ListAvailableResourceDimensions.html) **
  - **説明:** 指定された DB インスタンスの指定された各メトリクスタイプに対してクエリ可能なディメンションを取得する ListAvailableResourceDimensions API を呼び出す許可を付与
  - **アクセスレベル:** 読み取り
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-metric-resource](#awsperformanceinsights-metric-resource) 
  - **条件キー:** 
  - **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_ListAvailableResourceMetrics.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_ListAvailableResourceMetrics.html) **
  - **説明:** 指定された DB インスタンスに対してクエリ可能な指定されたタイプのメトリクスを取得する ListAvailableResourceMetrics API を呼び出す許可を付与
  - **アクセスレベル:** 読み取り
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-metric-resource](#awsperformanceinsights-metric-resource) 
  - **条件キー:** 
  - **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_ListPerformanceAnalysisReports.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_ListPerformanceAnalysisReports.html) **
  - **説明:** ListPerformanceAnalysisReports API を呼び出して、指定した DB インスタンスのパフォーマンス分析レポートを一覧表示する許可を付与
  - **アクセスレベル:** リスト
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-perf-reports-resource](#awsperformanceinsights-perf-reports-resource) 
  - **条件キー:** 
  - **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_ListTagsForResource.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_ListTagsForResource.html) **
  - **説明:** ListTagsForResource API を呼び出してリソースのタグを一覧表示する許可を付与
  - **アクセスレベル:** リスト
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-metric-resource](#awsperformanceinsights-metric-resource)  / **条件キー:**  / **依存アクション:** 
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-perf-reports-resource](#awsperformanceinsights-perf-reports-resource)  / **条件キー:**  / **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_TagResource.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_TagResource.html) **
  - **説明:** TagResource API を呼び出してリソースにタグを付ける許可を付与
  - **アクセスレベル:** Tagging
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-perf-reports-resource](#awsperformanceinsights-perf-reports-resource)  / **条件キー:**  / **依存アクション:** 
  - **リソースタイプ (\* 必須):**  / **条件キー:**  [#awsperformanceinsights-aws_RequestTag___TagKey_](#awsperformanceinsights-aws_RequestTag___TagKey_) <br /> [#awsperformanceinsights-aws_TagKeys](#awsperformanceinsights-aws_TagKeys)  / **依存アクション:** 

- **  [https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_UntagResource.html](https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_UntagResource.html) **
  - **説明:** UntagResource API を呼び出してリソースのタグを解除する許可を付与
  - **アクセスレベル:** Tagging
  - **リソースタイプ (\* 必須):**  [#awsperformanceinsights-perf-reports-resource](#awsperformanceinsights-perf-reports-resource)  / **条件キー:**  / **依存アクション:** 
  - **リソースタイプ (\* 必須):**  / **条件キー:**  [#awsperformanceinsights-aws_TagKeys](#awsperformanceinsights-aws_TagKeys)  / **依存アクション:** 



## AWS Performance Insights で定義されるリソースタイプ
<a name="awsperformanceinsights-resources-for-iam-policies"></a>

以下のリソースタイプは、このサービスによって定義され、IAM アクセス許可ポリシーステートメントの `Resource` エレメントで使用できます。[アクションテーブル](#awsperformanceinsights-actions-as-permissions)の各アクションは、そのアクションで指定できるリソースタイプを示しています。リソースタイプは、ポリシーに含めることができる条件キーを定義することもできます。これらのキーは、[リソースタイプ] テーブルの最後の列に表示されます。以下の表の列の詳細については、「[リソースタイプテーブル](reference_policies_actions-resources-contextkeys.html#resources_table)」を参照してください。


****  

| リソースタイプ | ARN | 条件キー | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.access-control.html](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.access-control.html)  |  arn:${Partition}:pi:${Region}:${Account}:metrics/${ServiceType}/${Identifier}  |  [#awsperformanceinsights-aws_ResourceTag___TagKey_](#awsperformanceinsights-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.access-control.html](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.access-control.html)  |  arn:${Partition}:pi:${Region}:${Account}:perf-reports/${ServiceType}/${Identifier}/${ReportId}  |  [#awsperformanceinsights-aws_ResourceTag___TagKey_](#awsperformanceinsights-aws_ResourceTag___TagKey_)  | 

## AWS Performance Insights の条件キー
<a name="awsperformanceinsights-policy-keys"></a>

AWS Performance Insights では、IAM ポリシーの `Condition`要素で使用できる以下の条件キーを定義します。これらのキーを使用して、ポリシーステートメントが適用される条件をさらに絞り込むことができます。以下の表の列の詳細については、「[条件キーテーブル](reference_policies_actions-resources-contextkeys.html#context_keys_table)」を参照してください。

すべてのサービスで使用できるグローバル条件キーを確認するには、「[AWS グローバル条件コンテキストキー](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html)」を参照してください。


****  

| 条件キー | 説明 | タイプ | 
| --- | --- | --- | 
|   [#condition-keys-requesttag](#condition-keys-requesttag)  | リクエストで渡されたタグでアクセスをフィルタリングします | 文字列 | 
|   [#condition-keys-resourcetag](#condition-keys-resourcetag)  | リソースに関連付けられたタグでアクセスをフィルタリングします | 文字列 | 
|   [#condition-keys-tagkeys](#condition-keys-tagkeys)  | リクエストで渡されたタグキーでアクセスをフィルタリングします | ArrayOfString | 
|   [#condition-keys-dimensions](#condition-keys-dimensions)  | リクエストされたディメンションでアクセスをフィルタリングする | ArrayOfString | 