AWSConfigRemediation-DeleteRedshiftCluster - Amazon Systems Manager Automation runbook reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWSConfigRemediation-DeleteRedshiftCluster

Description

The AWSConfigRemediation-DeleteRedshiftCluster runbook deletes the Amazon Redshift cluster you specify.

Run this Automation (console)

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 to true , 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 the SkipFinalClusterSnapshot parameter.

  • aws:executeAwsApi - Deletes the Amazon Redshift cluster specified in the ClusterIdentifier parameter.

  • aws:assertAwsResourceProperty - Verifies the Amazon Redshift cluster has been deleted.