Amazon Redshift 將不再支援從修補程式 198 開始建立新的 Python UDFs。現有 Python UDF 將繼續正常運作至 2026 年 6 月 30 日。如需詳細資訊,請參閱部落格文章
本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
將自訂網域與不同的憑證建立關聯
若要變更自訂網域名稱的憑證關聯,需要下列 IAM 許可:
-
redshift:ModifyCustomDomainAssociation -
acm:DescribeCertificate
我們建議的最佳實務是,將許可政策附加到 IAM 角色,然後根據需要將其指派給使用者和群組。如需詳細資訊,請參閱 Amazon Redshift 中的身分和存取管理。
使用下列命令以利用不同憑證與自訂網域建立關聯。––custom-domain-name 和 custom-domain-certificate-arn 引數是強制性的。新憑證的 ARN 必須與現有 ARN 不同。
aws redshift modify-custom-domain-association ––cluster-idredshiftcluster––custom-domain-namecustomdomainname––custom-domain-certificate-arncertificatearn
以下範例顯示如何為自訂網域與 Amazon Redshift Serverless 工作群組的不同憑證建立關聯。
aws redshift-serverless modify-custom-domain-association ––workgroup-nameredshiftworkgroup––custom-domain-namecustomdomainname––custom-domain-certificate-arncertificatearn
連線到叢集之前,最多會延遲 30 秒。部分延遲發生在 Amazon Redshift 叢集更新其屬性時,並且在 DNS 更新時也會有一些額外的延遲。如需 API 和每個屬性設定的相關資訊,請參閱 ModifyCustomDomainAssociation。