

 Amazon Redshift는 패치 198부터 새 Python UDF 생성을 더 이상 지원하지 않습니다. 기존 Python UDF는 2026년 6월 30일까지 계속 작동합니다. 자세한 내용은 [블로그 게시물](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/)을 참조하세요.

# 사용자 지정 도메인을 다른 인증서와 연결
<a name="connecting-connection-CNAME-change-api"></a>

사용자 지정 도메인 이름에 대한 인증서 연결을 변경하려면 다음 IAM 권한이 필요합니다.
+ `redshift:ModifyCustomDomainAssociation`
+ `acm:DescribeCertificate`

가장 좋은 방법은 권한 정책을 IAM 역할에 연결한 다음 필요에 따라 사용자 및 그룹에 할당하는 것입니다. 자세한 내용은 [Amazon Redshift의 Identity and Access Management](https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-authentication-access-control.html)를 참조하세요.

다음 명령을 사용하여 사용자 지정 도메인을 다른 인증서와 연결합니다. `––custom-domain-name` 및 `custom-domain-certificate-arn` 인수는 필수입니다. 새 인증서의 ARN은 기존 ARN과 달라야 합니다.

```
aws redshift modify-custom-domain-association ––cluster-id {{redshiftcluster}} ––custom-domain-name {{customdomainname}} ––custom-domain-certificate-arn {{certificatearn}}
```

다음 샘플은 사용자 지정 도메인을 Amazon Redshift Serverless 작업 그룹의 다른 인증서와 연결하는 방법을 보여줍니다.

```
aws redshift-serverless modify-custom-domain-association ––workgroup-name {{redshiftworkgroup}} ––custom-domain-name {{customdomainname}} ––custom-domain-certificate-arn {{certificatearn}}
```

클러스터에 연결할 수 있기까지 최대 30초의 지연이 있습니다. 지연의 일부는 Amazon Redshift 클러스터가 속성을 업데이트할 때 발생하며, DNS가 업데이트될 때 약간의 추가 지연이 있습니다. API 및 각 속성 설정에 대한 자세한 내용은 [ModifyCustomDomainAssociation](https://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifyCustomDomainAssociation.html)을 참조하세요.