This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::Route53GlobalResolver::FirewallRule
Creates a DNS firewall rule. Firewall rules define actions (ALLOW, BLOCK, or ALERT) to take on DNS queries that match specified domain lists, managed domain lists, or advanced threat protections.
Important
Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the
US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example,
specify
--region us-east-2
on Amazon CLI commands.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Route53GlobalResolver::FirewallRule", "Properties" : { "Action" :String, "BlockOverrideDnsType" :String, "BlockOverrideDomain" :String, "BlockOverrideTtl" :Integer, "BlockResponse" :String, "ClientToken" :String, "ConfidenceThreshold" :String, "Description" :String, "DnsAdvancedProtection" :String, "DnsViewId" :String, "FirewallDomainListId" :String, "Name" :String, "Priority" :Integer, "QType" :String} }
YAML
Type: AWS::Route53GlobalResolver::FirewallRule Properties: Action:StringBlockOverrideDnsType:StringBlockOverrideDomain:StringBlockOverrideTtl:IntegerBlockResponse:StringClientToken:StringConfidenceThreshold:StringDescription:StringDnsAdvancedProtection:StringDnsViewId:StringFirewallDomainListId:StringName:StringPriority:IntegerQType:String
Properties
Action-
The action configured for the updated firewall rule.
Required: Yes
Type: String
Allowed values:
ALLOW | ALERT | BLOCKUpdate requires: No interruption
BlockOverrideDnsType-
The DNS record type configured for the updated firewall rule's custom response.
Required: No
Type: String
Allowed values:
CNAMEUpdate requires: No interruption
BlockOverrideDomain-
The custom domain name configured for the updated firewall rule's BLOCK response.
Required: No
Type: String
Pattern:
\*?[-a-zA-Z0-9.]+Minimum:
1Maximum:
256Update requires: No interruption
BlockOverrideTtl-
The TTL value configured for the updated firewall rule's custom response.
Required: No
Type: Integer
Minimum:
0Maximum:
604800Update requires: No interruption
BlockResponse-
The type of block response configured for the updated firewall rule.
Required: No
Type: String
Allowed values:
NODATA | NXDOMAIN | OVERRIDEUpdate requires: No interruption
ClientToken-
The unique string that identified the request and ensured idempotency.
Required: No
Type: String
Minimum:
1Maximum:
256Update requires: Replacement
ConfidenceThreshold-
The confidence threshold configured for the updated firewall rule's advanced threat detection.
Required: No
Type: String
Allowed values:
LOW | MEDIUM | HIGHUpdate requires: No interruption
Description-
The description of the updated firewall rule.
Required: No
Type: String
Minimum:
1Maximum:
256Update requires: No interruption
DnsAdvancedProtection-
Whether advanced DNS threat protection is enabled for the updated firewall rule.
Required: No
Type: String
Allowed values:
DGA | DNS_TUNNELING | DICTIONARY_DGAUpdate requires: No interruption
DnsViewId-
The ID of the DNS view associated with the updated firewall rule.
Required: Yes
Type: String
Minimum:
1Maximum:
64Update requires: Replacement
FirewallDomainListId-
The ID of the firewall domain list associated with the updated firewall rule.
Required: No
Type: String
Minimum:
1Maximum:
64Update requires: Replacement
Name-
The name of the updated firewall rule.
Required: Yes
Type: String
Pattern:
(?!^[0-9]+$)([a-zA-Z0-9-_' ']+)Minimum:
1Maximum:
64Update requires: No interruption
Priority-
The priority of the updated firewall rule.
Required: No
Type: Integer
Minimum:
1Maximum:
10000Update requires: No interruption
QType-
The DNS query type that the firewall rule should match.
Required: No
Type: String
Minimum:
0Maximum:
16Update requires: Replacement
Return values
Ref
Fn::GetAtt
CreatedAt-
The date and time when the firewall rule was originally created.
FirewallRuleId-
The unique identifier of the firewall rule to update.
QueryType-
The DNS query type that the updated firewall rule matches.
Status-
The current status of the updated firewall rule.
UpdatedAt-
The date and time when the firewall rule was last updated.