I'm creating an API Gateway with an associated Custom Domain Name using Boto3.
When adding a Custom Domain Name, there's a period of about 40 minutes where the ACM Certificate is "initializing". See below screenshot to see what I'm referring to. I'm unable to find any reference in the Boto3 API of how I can programmatically wait for that initialization to complete.
The create_domain_name()
API call has a field in the response known as domainNameStatus
which returns AVAILABLE
even while the ACM is still being initialized.
Have you or anyone you know heard of a programmatic way or other approach to wait for the initialization of the ACM certificate to complete?