CmdID / aws / aws elasticbeanstalk
aws elasticbeanstalk check-dns-availability
Checks if the specified CNAME is available. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To check the availability of a CNAME
The following check-dns-availability example checks the availability of the subdomain my-cname.elasticbeanstalk.com.
aws elasticbeanstalk check-dns-availability --cname-prefix my-cnameIdentify--cname-prefixThe prefix used when this CNAME is reserved.Its output
{
"Available": true,
"FullyQualifiedCNAME": "my-cname.elasticbeanstalk.com"
}For more information, see Your Elastic Beanstalk environment's Domain name in the AWS Elastic Beanstalk Developer Guide.
Options
--cname-prefixThe prefix used when this CNAME is reserved.