AWSConfigRemediation-DeleteRedshiftCluster
Description
The AWSConfigRemediation-DeleteRedshiftCluster
runbook deletes the
Amazon Redshift cluster you specify.
Document type
Automation
Owner
Amazon
Platforms
Databases
Parameters
-
AutomationAssumeRole
Type: String
Description: (Required) The Amazon Resource Name (ARN) of the Amazon Identity and Access Management (IAM) role that allows Systems Manager Automation to perform the actions on your behalf.
-
ClusterIdentifier
Type: String
Description: (Required) The ID of the Amazon Redshift cluster that you want to delete.
-
SkipFinalClusterSnapshot
Type: Boolean
Default: false
Description: (Optional) If set to
false
, the automation creates a snapshot before deleting the Amazon Redshift cluster. If set totrue
, a final cluster snapshot is not created.
Required IAM permissions
The AutomationAssumeRole
parameter requires the following actions to
use the runbook successfully.
-
ssm:StartAutomationExecution
-
ssm:GetAutomationExecution
-
redshift:DeleteCluster
-
redshift:DescribeClusters
Document Steps
-
aws:branch
- Branches based on the value you specify for theSkipFinalClusterSnapshot
parameter. -
aws:executeAwsApi
- Deletes the Amazon Redshift cluster specified in theClusterIdentifier
parameter. -
aws:assertAwsResourceProperty
- Verifies the Amazon Redshift cluster has been deleted.