

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

# `AWS-EnableNeptuneClusterDeletionProtection`
<a name="AWS-EnableNeptuneClusterDeletionProtection"></a>

 **説明** 

 `AWS-EnableNeptuneClusterDeletionProtection` ランブックは、指定した Amazon Neptune クラスターの削除保護を有効にします。

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

Automation

**[所有者]**

Amazon

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

Linux、macOS、Windows

**パラメータ**
+ AutomationAssumeRole

  タイプ: 文字列

  説明: (オプション) Systems Manager Automation がユーザーに代わってアクションを実行できるようにする AWS Identity and Access Management (IAM) ロールの Amazon リソースネーム (ARN)。ロールを指定しない場合、Systems Manager Automation はこのランブックを開始するユーザーのアクセス許可を使用します。
+ DbClusterResourceId

  タイプ: 文字列

  説明: (必須) 削除保護を有効にする Neptune クラスターの ID。

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

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

 **ドキュメントステップ** 
+ GetNeptuneDbClusterIdentifier (`aws:executeAwsApi`) - Neptune DB クラスターの ID を返します。
+ VerifyNeptuneDbEngine (`aws:assertAwsResourceProperty`) - 指定された DB クラスターのエンジンタイプが であることを確認します`neptune`。
+ VerifyNeptuneStatus (`aws:waitForAwsResourceProperty`) - クラスターのステータスが であることを確認します`available`。
+ EnableNeptuneDbDeletionProtection (`aws:executeAwsApi`) - Neptune DB クラスターの削除保護を有効にします。
+ VerifyNeptuneDbDeletionProtection (`aws:assertAwsResourceProperty`) - DB クラスターで削除保護が有効になっていることを確認します。

 **出力** 
+ EnableNeptuneDbDeletionProtection.EnableNeptuneDbDeletionProtectionResponse - API オペレーションからの出力。