Skip to content

Update Firewall Domains

route53resolver_update_firewall_domains R Documentation

Updates the firewall domain list from an array of domain specifications

Description

Updates the firewall domain list from an array of domain specifications.

Usage

route53resolver_update_firewall_domains(FirewallDomainListId, Operation,
  Domains)

Arguments

FirewallDomainListId

[required] The ID of the domain list whose domains you want to update.

Operation

[required] What 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.

  • REMOVE - Search the domain list for the domains and remove them from the list.

  • REPLACE - Update the domain list to exactly match the list that you are providing.

Domains

[required] A list of domains to use in the update operation.

There is a limit of 1000 domains per request.

Each domain specification in your domain list must satisfy the following requirements:

  • It can optionally start with * (asterisk).

  • With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen).

  • It must be from 1-255 characters in length.

Value

A list with the following syntax:

list(
  Id = "string",
  Name = "string",
  Status = "COMPLETE"|"COMPLETE_IMPORT_FAILED"|"IMPORTING"|"DELETING"|"UPDATING",
  StatusMessage = "string"
)

Request syntax

svc$update_firewall_domains(
  FirewallDomainListId = "string",
  Operation = "ADD"|"REMOVE"|"REPLACE",
  Domains = list(
    "string"
  )
)