Skip to main content

firewall_domain_lists

Creates, updates, deletes, gets or lists a firewall_domain_lists resource.

Overview

Namefirewall_domain_lists
TypeResource
Idaws.route53resolver.firewall_domain_lists

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the firewall domain list.
categorystringThe category of the domain list.
creation_timestringThe date and time that the domain list was created, in Unix time format and Coordinated Universal Time (UTC).
creator_request_idstringA unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
domain_countintegerThe number of domain names that are specified in the domain list.
idstringThe ID of the domain list.
managed_list_typestringThe type of the managed domain list, for example THREAT. (THREAT, CONTENT)
managed_owner_namestringThe owner of the list, used only for lists that are not managed by you. For example, the managed domain list AWSManagedDomainsMalwareDomainList has the managed owner name Route 53 Resolver DNS Firewall.
modification_timestringThe date and time that the domain list was last modified, in Unix time format and Coordinated Universal Time (UTC).
namestringThe name of the domain list. (pattern: <code>(?!^[0-9]+$)([a-zA-Z0-9-_' ']+)</code>)
statusstringThe status of the domain list. (COMPLETE, COMPLETE_IMPORT_FAILED, IMPORTING, DELETING, UPDATING)
status_messagestringAdditional information about the status of the list, if available.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_firewall_domain_listselectregionRetrieves the specified firewall domain list.
list_firewall_domain_listsselectregionRetrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains. A single call to this list operation might return only a partial list of the domain lists. For information, see MaxResults.
create_firewall_domain_listinsertregion, CreatorRequestIdCreates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.
delete_firewall_domain_listdeleteregionDeletes the specified domain list.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the specified firewall domain list.

SELECT
arn,
category,
creation_time,
creator_request_id,
domain_count,
id,
managed_list_type,
managed_owner_name,
modification_time,
name,
status,
status_message
FROM aws.route53resolver.firewall_domain_lists
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.

INSERT INTO aws.route53resolver.firewall_domain_lists (
CreatorRequestId,
Name,
Tags,
region
)
SELECT
'{{ CreatorRequestId }}' /* required */,
'{{ Name }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
firewall_domain_list
;

DELETE examples

Deletes the specified domain list.

DELETE FROM aws.route53resolver.firewall_domain_lists
WHERE region = '{{ region }}' --required
;