CmdID / aws / aws route53resolver
aws route53resolver update-firewall-domains
Updates the firewall domain list from an array of domain specifications. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To update a domain list
The following update-firewall-domains example adds the domains to a domain list with the ID you provide.
aws route53resolver update-firewall-domains --firewall-domain-list-id rslvr-fdl-42b60677cexampleb --operation ADD --domains test1.com test2.com test3.comIdentify--firewall-domain-list-idThe ID of the domain list whose domains you want to update.--operationWhat you want DNS Firewall to do with the domains that you are providing: ADD - Add the domains to the ones that are already in the domain list.--domainsA list of domains to use in the update operation.Its output
{
"Id": "rslvr-fdl-42b60677cexample",
"Name": "test",
"Status": "UPDATING",
"StatusMessage": "Updating the Firewall Domain List"
}For more information, see Managing your own domain lists in the Amazon Route 53 Developer Guide.
Options
--domainsA list of domains to use in the update operation.--firewall-domain-list-idThe ID of the domain list whose domains you want to update.--operationWhat you want DNS Firewall to do with the domains that you are providing: ADD - Add the domains to the ones that are already in the domain list.