We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
Resource schema for AWS::Route53GlobalResolver::FirewallRule
Create FirewallRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FirewallRule(name: string, args: FirewallRuleArgs, opts?: CustomResourceOptions);@overload
def FirewallRule(resource_name: str,
args: FirewallRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FirewallRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[FirewallRuleAction] = None,
dns_view_id: Optional[str] = None,
block_override_ttl: Optional[int] = None,
block_override_domain: Optional[str] = None,
block_response: Optional[FirewallRuleFirewallBlockResponse] = None,
client_token: Optional[str] = None,
confidence_threshold: Optional[FirewallRuleConfidenceThreshold] = None,
description: Optional[str] = None,
dns_advanced_protection: Optional[FirewallRuleDnsAdvancedProtection] = None,
block_override_dns_type: Optional[FirewallRuleBlockOverrideDnsQueryType] = None,
firewall_domain_list_id: Optional[str] = None,
name: Optional[str] = None,
priority: Optional[int] = None,
q_type: Optional[str] = None)func NewFirewallRule(ctx *Context, name string, args FirewallRuleArgs, opts ...ResourceOption) (*FirewallRule, error)public FirewallRule(string name, FirewallRuleArgs args, CustomResourceOptions? opts = null)
public FirewallRule(String name, FirewallRuleArgs args)
public FirewallRule(String name, FirewallRuleArgs args, CustomResourceOptions options)
type: aws-native:route53globalresolver:FirewallRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FirewallRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FirewallRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FirewallRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FirewallRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FirewallRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
FirewallRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FirewallRule resource accepts the following input properties:
- Action
Pulumi.
Aws Native. Route53Global Resolver. Firewall Rule Action - Dns
View stringId - Block
Override Pulumi.Dns Type Aws Native. Route53Global Resolver. Firewall Rule Block Override Dns Query Type - Block
Override stringDomain - Block
Override intTtl - Block
Response Pulumi.Aws Native. Route53Global Resolver. Firewall Rule Firewall Block Response - Client
Token string - Confidence
Threshold Pulumi.Aws Native. Route53Global Resolver. Firewall Rule Confidence Threshold - Description string
- Dns
Advanced Pulumi.Protection Aws Native. Route53Global Resolver. Firewall Rule Dns Advanced Protection - Firewall
Domain stringList Id - Name string
- Priority int
- QType string
- Action
Firewall
Rule Action - Dns
View stringId - Block
Override FirewallDns Type Rule Block Override Dns Query Type - Block
Override stringDomain - Block
Override intTtl - Block
Response FirewallRule Firewall Block Response - Client
Token string - Confidence
Threshold FirewallRule Confidence Threshold - Description string
- Dns
Advanced FirewallProtection Rule Dns Advanced Protection - Firewall
Domain stringList Id - Name string
- Priority int
- QType string
- action
Firewall
Rule Action - dns
View StringId - block
Override FirewallDns Type Rule Block Override Dns Query Type - block
Override StringDomain - block
Override IntegerTtl - block
Response FirewallRule Firewall Block Response - client
Token String - confidence
Threshold FirewallRule Confidence Threshold - description String
- dns
Advanced FirewallProtection Rule Dns Advanced Protection - firewall
Domain StringList Id - name String
- priority Integer
- q
Type String
- action
Firewall
Rule Action - dns
View stringId - block
Override FirewallDns Type Rule Block Override Dns Query Type - block
Override stringDomain - block
Override numberTtl - block
Response FirewallRule Firewall Block Response - client
Token string - confidence
Threshold FirewallRule Confidence Threshold - description string
- dns
Advanced FirewallProtection Rule Dns Advanced Protection - firewall
Domain stringList Id - name string
- priority number
- q
Type string
- action
Firewall
Rule Action - dns_
view_ strid - block_
override_ Firewalldns_ type Rule Block Override Dns Query Type - block_
override_ strdomain - block_
override_ intttl - block_
response FirewallRule Firewall Block Response - client_
token str - confidence_
threshold FirewallRule Confidence Threshold - description str
- dns_
advanced_ Firewallprotection Rule Dns Advanced Protection - firewall_
domain_ strlist_ id - name str
- priority int
- q_
type str
- action "ALLOW" | "ALERT" | "BLOCK"
- dns
View StringId - block
Override "CNAME"Dns Type - block
Override StringDomain - block
Override NumberTtl - block
Response "NODATA" | "NXDOMAIN" | "OVERRIDE" - client
Token String - confidence
Threshold "LOW" | "MEDIUM" | "HIGH" - description String
- dns
Advanced "DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA"Protection - firewall
Domain StringList Id - name String
- priority Number
- q
Type String
Outputs
All input properties are implicitly available as output properties. Additionally, the FirewallRule resource produces the following output properties:
- Created
At string - Firewall
Rule stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Query
Type string - Status
Pulumi.
Aws Native. Route53Global Resolver. Firewall Rule Cr Resource Status - Updated
At string
- Created
At string - Firewall
Rule stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Query
Type string - Status
Firewall
Rule Cr Resource Status - Updated
At string
- created
At String - firewall
Rule StringId - id String
- The provider-assigned unique ID for this managed resource.
- query
Type String - status
Firewall
Rule Cr Resource Status - updated
At String
- created
At string - firewall
Rule stringId - id string
- The provider-assigned unique ID for this managed resource.
- query
Type string - status
Firewall
Rule Cr Resource Status - updated
At string
- created_
at str - firewall_
rule_ strid - id str
- The provider-assigned unique ID for this managed resource.
- query_
type str - status
Firewall
Rule Cr Resource Status - updated_
at str
- created
At String - firewall
Rule StringId - id String
- The provider-assigned unique ID for this managed resource.
- query
Type String - status "CREATING" | "OPERATIONAL" | "UPDATING" | "DELETING"
- updated
At String
Supporting Types
FirewallRuleAction, FirewallRuleActionArgs
- Allow
ALLOW- Alert
ALERT- Block
BLOCK
- Firewall
Rule Action Allow ALLOW- Firewall
Rule Action Alert ALERT- Firewall
Rule Action Block BLOCK
- Allow
ALLOW- Alert
ALERT- Block
BLOCK
- Allow
ALLOW- Alert
ALERT- Block
BLOCK
- ALLOW
ALLOW- ALERT
ALERT- BLOCK
BLOCK
- "ALLOW"
ALLOW- "ALERT"
ALERT- "BLOCK"
BLOCK
FirewallRuleBlockOverrideDnsQueryType, FirewallRuleBlockOverrideDnsQueryTypeArgs
- Cname
CNAME
- Firewall
Rule Block Override Dns Query Type Cname CNAME
- Cname
CNAME
- Cname
CNAME
- CNAME
CNAME
- "CNAME"
CNAME
FirewallRuleConfidenceThreshold, FirewallRuleConfidenceThresholdArgs
- Low
LOW- Medium
MEDIUM- High
HIGH
- Firewall
Rule Confidence Threshold Low LOW- Firewall
Rule Confidence Threshold Medium MEDIUM- Firewall
Rule Confidence Threshold High HIGH
- Low
LOW- Medium
MEDIUM- High
HIGH
- Low
LOW- Medium
MEDIUM- High
HIGH
- LOW
LOW- MEDIUM
MEDIUM- HIGH
HIGH
- "LOW"
LOW- "MEDIUM"
MEDIUM- "HIGH"
HIGH
FirewallRuleCrResourceStatus, FirewallRuleCrResourceStatusArgs
- Creating
CREATING- Operational
OPERATIONAL- Updating
UPDATING- Deleting
DELETING
- Firewall
Rule Cr Resource Status Creating CREATING- Firewall
Rule Cr Resource Status Operational OPERATIONAL- Firewall
Rule Cr Resource Status Updating UPDATING- Firewall
Rule Cr Resource Status Deleting DELETING
- Creating
CREATING- Operational
OPERATIONAL- Updating
UPDATING- Deleting
DELETING
- Creating
CREATING- Operational
OPERATIONAL- Updating
UPDATING- Deleting
DELETING
- CREATING
CREATING- OPERATIONAL
OPERATIONAL- UPDATING
UPDATING- DELETING
DELETING
- "CREATING"
CREATING- "OPERATIONAL"
OPERATIONAL- "UPDATING"
UPDATING- "DELETING"
DELETING
FirewallRuleDnsAdvancedProtection, FirewallRuleDnsAdvancedProtectionArgs
- Dga
DGA- Dns
Tunneling DNS_TUNNELING- Dictionary
Dga DICTIONARY_DGA
- Firewall
Rule Dns Advanced Protection Dga DGA- Firewall
Rule Dns Advanced Protection Dns Tunneling DNS_TUNNELING- Firewall
Rule Dns Advanced Protection Dictionary Dga DICTIONARY_DGA
- Dga
DGA- Dns
Tunneling DNS_TUNNELING- Dictionary
Dga DICTIONARY_DGA
- Dga
DGA- Dns
Tunneling DNS_TUNNELING- Dictionary
Dga DICTIONARY_DGA
- DGA
DGA- DNS_TUNNELING
DNS_TUNNELING- DICTIONARY_DGA
DICTIONARY_DGA
- "DGA"
DGA- "DNS_TUNNELING"
DNS_TUNNELING- "DICTIONARY_DGA"
DICTIONARY_DGA
FirewallRuleFirewallBlockResponse, FirewallRuleFirewallBlockResponseArgs
- Nodata
NODATA- Nxdomain
NXDOMAIN- Override
OVERRIDE
- Firewall
Rule Firewall Block Response Nodata NODATA- Firewall
Rule Firewall Block Response Nxdomain NXDOMAIN- Firewall
Rule Firewall Block Response Override OVERRIDE
- Nodata
NODATA- Nxdomain
NXDOMAIN- Override
OVERRIDE
- Nodata
NODATA- Nxdomain
NXDOMAIN- Override
OVERRIDE
- NODATA
NODATA- NXDOMAIN
NXDOMAIN- OVERRIDE
OVERRIDE
- "NODATA"
NODATA- "NXDOMAIN"
NXDOMAIN- "OVERRIDE"
OVERRIDE
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
