Route53 reporting with command line

0

Is it possible to use an API/CLI to query/change my Route53 records? For example can I produce a list of domains and when they are due? or change the auto renew flag?

1回答
2
承認された回答

You can use the Route53 Domains API (and CLI command). See the CLI docs, or you can run aws route53domains help at your prompt.

To list your domains and when they're due for renewal, you could use something like:

aws route53domains list-domains --query "Domains[].[DomainName,Expiry]" --output text

and to change the autorenew flag, use

aws route53domains enable-domain-auto-renew --domain-name example.com

(or disable-domain-auto-renew). You can use the route53domains client in the SDKs similarly (for example, in boto3).

profile pictureAWS
エキスパート
James_S
回答済み 2年前
profile pictureAWS
エキスパート
レビュー済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ