View a markdown version of this page

从 Amazon Glue Data Catalog 中注销 - Amazon Redshift
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)。

2026 年 6 月 30 日之后,Amazon Redshift 不再支持使用 Python UDF。我们将分阶段开始执行。有关 Python 生命周期终止和迁移选项详情的更多信息,请参阅 2025 年 6 月 30 日发布的博客文章。

从 Amazon Glue Data Catalog 中注销

注销 Amazon Redshift 联合身份验证权限的 IAM 策略要求

要从 Amazon Glue Data Catalog 中注销集群或 Serverless 命名空间,需要以下 IAM 权限。

对于 Redshift 预调配集群

  • redshift:ModifyLakehouseConfiguration

  • redshift:DregisterNamespace

对于 Redshift Serverless

  • redshift-serverless:UpdateLakehouseConfiguration

  • redshift:DregisterNamespace

对于 Amazon Glue Data Catalog 集成

  • glue:DeleteCatalog

  • glue:GetCatalog

对于 Lake Formation 资源注册

  • lakeformation:DeregisterResource

从 Amazon Glue Data Catalog 中注销 Redshift

CLI

您可以使用 modify-lakehouse-configuration 命令从 Amazon Glue Data Catalog 中注销集群,如果集群关联了 IdC 提供程序,这会在集群中将 IdC 提供程序置于禁用模式。

aws redshift modify-lakehouse-configuration \ --cluster-identifier 'redshift-cluster' \ --lakehouse-registration Deregister
Console
  1. 登录到 Amazon Web Services 管理控制台 并打开 Amazon Redshift 控制台,网址:https://console.aws.amazon.com/redshiftv2/。

  2. 导航到要注销的预调配集群,然后将其选中。

  3. 在集群的详细信息页面上,从操作下拉菜单中选择从 Amazon Glue Data Catalog 中注销,然后选择注销。

从 Amazon Glue Data Catalog 中注销 Redshift Serverless 命名空间

CLI

您可以使用 update-lakehouse-configuration 命令从 Amazon Glue Data Catalog 中注销 Redshift Serverless 命名空间,如果集群关联了 IdC 提供程序,这会在集群中将 IdC 提供程序置于禁用模式。

aws redshift modify-lakehouse-configuration \ --cluster-identifier 'redshift-cluster' \ --lakehouse-registration Deregister
Console
  1. 登录到 Amazon Web Services 管理控制台 并打开 Amazon Redshift 控制台,网址:https://console.aws.amazon.com/redshiftv2/。

  2. 导航到要注销的 Serverless 命名空间,然后将其选中。

  3. 在集群的详细信息页面上,从操作下拉菜单中选择从 Amazon Glue Data Catalog 中注销,然后选择注销。