01
Run list-domains command (OSX/Linux/UNIX) to list all the domain names registered with AWS or transferred to AWS:
aws route53domains list-domains
--query 'Domains[*].DomainName'
02
The command output should return each domain name currently registered:
03
Run get-domain-detail command (OSX/Linux/UNIX) using the domain name returned at the previous step, to expose the expiration date for the selected domain:
aws route53domains get-domain-detail
--domain-name mydomain.com
--query 'ExpirationDate'
04
The command output should return the date when the specified domain is set to expire (Unix time):
05
To convert the Unix based date returned at the previous step to a human readable format run the following command (OSX/Linux/UNIX):
06
The command output should return the expiration date in a human readable format:
Thu Sep 1 00:00:00 UTC 2016
If the selected domain name is about to expire in 7 days from now, continue with the renewal process setup as presented in the Remediation/Resolution section.
07
Repeat steps no. 3 – 6 for each domain name currently registered with AWS Route 53.