Deleting a custom domain - Amazon Redshift
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).

Deleting a custom domain

To delete the custom domain name, the user must have permissions for the following actions:

  • For a provisioned cluster: redshift:DeleteCustomDomainAssociation

  • For an Amazon Redshift Serverless workgroup: redshiftServerless:DeleteCustomDomainAssociation

On the console

You can delete the custom domain name by selecting the Actions button and choosing Delete custom domain name. After you do this, you can still connect to the server by updating your tools to use the endpoints listed in the console.

Using a CLI command

The following sample shows how to delete the custom domain name. The delete operation requires that you provide the existing custom domain name for the cluster.

aws redshift delete-custom-domain-association ––cluster-id redshiftcluster ––custom-domain-name customdomainname

The following sample shows how to delete the custom domain name for an Amazon Redshift Serverless workgroup. The custom domain name is a required parameter.

aws redshift-serverless delete-custom-domain-association ––workgroup-name workgroupname ––custom-domain-name customdomainname

For more information, see DeleteCustomDomainAssociation.