{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-route53-resolver/refs/heads/main/json-schema/amazon-route53-resolver-openapi-firewall-rule-schema.json", "title": "FirewallRule", "description": "A single firewall rule in a rule group.", "type": "object", "properties": { "FirewallRuleGroupId": { "allOf": [ { "$ref": "#/components/schemas/ResourceId" }, { "description": "The unique identifier of the firewall rule group of the rule. " } ] }, "FirewallDomainListId": { "allOf": [ { "$ref": "#/components/schemas/ResourceId" }, { "description": "The ID of the domain list that's used in the rule. " } ] }, "Name": { "allOf": [ { "$ref": "#/components/schemas/Name" }, { "description": "The name of the rule. " } ] }, "Priority": { "allOf": [ { "$ref": "#/components/schemas/Priority" }, { "description": "The priority of the rule in the rule group. This value must be unique within the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting." } ] }, "Action": { "allOf": [ { "$ref": "#/components/schemas/Action" }, { "description": "

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list:

" } ] }, "BlockResponse": { "allOf": [ { "$ref": "#/components/schemas/BlockResponse" }, { "description": "

The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK.

" } ] }, "BlockOverrideDomain": { "allOf": [ { "$ref": "#/components/schemas/BlockOverrideDomain" }, { "description": "The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE." } ] }, "BlockOverrideDnsType": { "allOf": [ { "$ref": "#/components/schemas/BlockOverrideDnsType" }, { "description": "The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE." } ] }, "BlockOverrideTtl": { "allOf": [ { "$ref": "#/components/schemas/Unsigned" }, { "description": "The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE." } ] }, "CreatorRequestId": { "allOf": [ { "$ref": "#/components/schemas/CreatorRequestId" }, { "description": "A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of executing the operation twice. This can be any unique string, for example, a timestamp. " } ] }, "CreationTime": { "allOf": [ { "$ref": "#/components/schemas/Rfc3339TimeString" }, { "description": "The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC). " } ] }, "ModificationTime": { "allOf": [ { "$ref": "#/components/schemas/Rfc3339TimeString" }, { "description": "The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time (UTC)." } ] } } }