# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 --- schemaVersion: "0.3" description: | ### Document name - ASR-DisablePublicAccessToRedshiftCluster ## What does this document do? The runbook disables public accessibility for the Amazon Redshift cluster you specify using the [ModifyCluster] (https://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifyCluster.html) API. ## Input Parameters * AutomationAssumeRole: (Required) The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows Systems Manager Automation to perform the actions on your behalf. * ClusterIdentifier: (Required) The unique identifier of the cluster you want to disable the public accessibility. ## Output Parameters * DisableRedshiftPubliclyAccessible.Response: The standard HTTP response from the ModifyCluster API call. assumeRole: "{{ AutomationAssumeRole }}" parameters: AutomationAssumeRole: type: String description: (Required) The ARN of the role that allows Automation to perform the actions on your behalf. allowedPattern: '^arn:(?:aws|aws-us-gov|aws-cn):iam::\d{12}:role/[\w+=,.@-]+$' ClusterIdentifier: type: String description: (Required) The unique identifier of the cluster you want to disable the public accessibility. allowedPattern: "^(?!.*--)[a-z][a-z0-9-]{0,62}(?