【AWS CLI 示例集】Route 53

Route 53

我们主要检查是否可以使用AWS Cloud9执行命令。
如果您想提供示例命令,请使用下面的表格提交。
如果列出的命令示例有任何错误,请在此处更正。

建议
建议内容可能会被修改。在提出任何建议之前请注意这一点。


创建新的可重用委托集

aws route53 create-reusable-delegation-set \
--caller-reference `date +"%Y-%m-%dT%H:%M:%S"/ExampleSet`

输出

{
    "Location": "https://route53.amazonaws.com/2013-04-01/delegationset/N013183735EMVZ1OKH7ZD",
    "DelegationSet": {
        "Id": "/delegationset/N013183735EMVZ1OKH7ZD",
        "CallerReference": "2024-04-07T09:08:20/ExampleSet",
        "NameServers": [
            "ns-2048.awsdns-64.com",
            "ns-2049.awsdns-65.net",
            "ns-2050.awsdns-66.org",
            "ns-2051.awsdns-67.co.uk"
        ]
    }
}

by yyg

从可重用委托集创建公共托管区域

aws route53 create-hosted-zone \
--delegation-set-id "/delegationset/N013183735EMVZ1OKH7ZD" \
--name myexample.com \
--caller-reference `date +"%Y-%m-%dT%H:%M:%S"/CreateZone`

输出

{
    "Location": "https://route53.amazonaws.com/2013-04-01/hostedzone/Z3BJ6K6RIION7M",
    "HostedZone": {
        "Id": "/hostedzone/Z3BJ6K6RIION7M",
        "Name": "myexample.com.",
        "CallerReference": "2024-04-07T09:25:45/CreateZone",
        "Config": {
            "PrivateZone": false
        },
        "ResourceRecordSetCount": 2
    },
    "ChangeInfo": {
        "Id": "/change/C012345678ABCDEFGH",
        "Status": "PENDING",
        "SubmittedAt": "2024-04-07T09:25:46.479000+00:00"
    },
    "DelegationSet": {
        "Id": "/delegationset/N013183735EMVZ1OKH7ZD",
        "CallerReference": "2024-04-07T09:08:20/ExampleSet",
        "NameServers": [
            "ns-2048.awsdns-64.com",
            "ns-2049.awsdns-65.net",
            "ns-2050.awsdns-66.org",
            "ns-2051.awsdns-67.co.uk"
        ]
    }
}

by yyg

从现有公共托管区域创建可重用的委派集

aws route53 create-reusable-delegation-set \
--caller-reference `date +"%Y-%m-%dT%H:%M:%S"/ExistingSet` \
--hosted-zone-id Z3BJ6K6RIION7M

输出

{
    "Location": "https://route53.amazonaws.com/2013-04-01/delegationset/N013183735EMVZ1OKH7ZE",
    "DelegationSet": {
        "Id": "/delegationset/N013183735EMVZ1OKH7ZE",
        "CallerReference": "2024-04-07T09:30:32/ExistingSet",
        "NameServers": [
            "ns-2048.awsdns-64.com",
            "ns-2049.awsdns-65.net",
            "ns-2050.awsdns-66.org",
            "ns-2051.awsdns-67.co.uk"
        ]
    }
}

by yyg

删除可重用的委托集

aws route53 delete-reusable-delegation-set --id "/delegationset/N013183735EMVZ1OKH7ZE"

输出

None

by yyg

タイトルとURLをコピーしました