

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

# `AWSConfigRemediation-EnablePerformanceInsightsOnRDSInstance`
<a name="automation-aws-enable-performance-insights-rds"></a>

 **説明** 

 `AWSConfigRemediation-EnablePerformanceInsightsOnRDSInstance` ランブックは、ユーザーにより指定された Amazon RDS DB インスタンスの Performance Insights を有効化します。

 [このオートメーションを実行する (コンソール)](https://console.aws.amazon.com/systems-manager/automation/execute/AWSConfigRemediation-EnablePerformanceInsightsOnRDSInstance) 

**ドキュメントタイプ**

オートメーション

**[所有者]**

Amazon

**[Platforms]** (プラットフォーム)

データベース

**パラメータ**
+ AutomationAssumeRole

  タイプ: 文字列

  説明: (必須) Systems Manager Automation がユーザーに代わってアクションを実行できるようにする AWS Identity and Access Management (IAM) ロールの Amazon リソースネーム (ARN)。
+ DbiResourceId

  タイプ: 文字列

  説明: (必須) Performance Insights を有効にする DB インスタンスのリソース識別子。
+ PerformanceInsightsKMSKeyId

  タイプ: 文字列

   デフォルト: `alias/aws/rds` 

   説明: (オプション) Performance Insights で機密データの暗号化に使用する Amazon リソースネーム (ARN)、キー ID、または AWS Key Management Service (AWS KMS) カスタマーマネージドキーのキーエイリアス。このパラメータのキーエイリアスを入力する場合は、値の前に **alias/** を付けます。このパラメータの値を指定しない場合、 AWS マネージドキー が使用されます。
+ PerformanceInsightsRetentionPeriod

  タイプ: 整数

  有効な値: 7、731

  デフォルト: 7

  説明: (オプション) Performance Insights のデータを保持する日数。

**必要な IAM アクセス許可**

`AutomationAssumeRole` パラメータでは、ランブックを正常に使用するために、次のアクションが必要です。
+  `ssm:StartAutomationExecution` 
+  `ssm:GetAutomationExecution` 
+  `kms:CreateGrant` 
+  `kms:DescribeKey` 
+  `rds:DescribeDBInstances` 
+  `rds:ModifyDBInstance` 

 **ドキュメントステップ** 
+  `aws:executeAwsApi` - DB インスタンスリソース識別子から DB インスタンス識別子を収集します。
+  `aws:assertAwsResourceProperty` - DB インスタンスのステータスが `available` であることを確認します。
+  `aws:executeAwsApi` - `PerformanceInsightsKMSKeyId`パラメータで指定された AWS KMS カスタマーマネージドキーの ARN を収集します。
+  `aws:branch` - DB インスタンスの `PerformanceInsightsKMSKeyId` プロパティに、値が既に割り当てられているかどうかをチェックします。
+  `aws:executeAwsApi` - `DbiResourceId` パラメータで指定された DB インスタンスで Performance Insights を有効にします。
+  `aws:assertAwsResourceProperty` - DB インスタンスの Performance Insights による暗号化を有効にするために、`PerformanceInsightsKMSKeyId` パラメータで指定された値が使用されたことを確認します。
+  `aws:assertAwsResourceProperty` - DB インスタンスで Performance Insights が有効になっていることを確認します。