1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. route53globalresolver
  5. FirewallRule

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.58.0
published on Monday, Mar 23, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.58.0
published on Monday, Mar 23, 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:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FirewallRule resource produces the following output properties:

    CreatedAt string
    FirewallRuleId string
    Id string
    The provider-assigned unique ID for this managed resource.
    QueryType string
    Status Pulumi.AwsNative.Route53GlobalResolver.FirewallRuleCrResourceStatus
    UpdatedAt string
    CreatedAt string
    FirewallRuleId string
    Id string
    The provider-assigned unique ID for this managed resource.
    QueryType string
    Status FirewallRuleCrResourceStatus
    UpdatedAt string
    createdAt String
    firewallRuleId String
    id String
    The provider-assigned unique ID for this managed resource.
    queryType String
    status FirewallRuleCrResourceStatus
    updatedAt String
    createdAt string
    firewallRuleId string
    id string
    The provider-assigned unique ID for this managed resource.
    queryType string
    status FirewallRuleCrResourceStatus
    updatedAt string
    created_at str
    firewall_rule_id str
    id str
    The provider-assigned unique ID for this managed resource.
    query_type str
    status FirewallRuleCrResourceStatus
    updated_at str
    createdAt String
    firewallRuleId String
    id String
    The provider-assigned unique ID for this managed resource.
    queryType String
    status "CREATING" | "OPERATIONAL" | "UPDATING" | "DELETING"
    updatedAt String

    Supporting Types

    FirewallRuleAction, FirewallRuleActionArgs

    Allow
    ALLOW
    Alert
    ALERT
    Block
    BLOCK
    FirewallRuleActionAllow
    ALLOW
    FirewallRuleActionAlert
    ALERT
    FirewallRuleActionBlock
    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
    FirewallRuleBlockOverrideDnsQueryTypeCname
    CNAME
    Cname
    CNAME
    Cname
    CNAME
    CNAME
    CNAME
    "CNAME"
    CNAME

    FirewallRuleConfidenceThreshold, FirewallRuleConfidenceThresholdArgs

    Low
    LOW
    Medium
    MEDIUM
    High
    HIGH
    FirewallRuleConfidenceThresholdLow
    LOW
    FirewallRuleConfidenceThresholdMedium
    MEDIUM
    FirewallRuleConfidenceThresholdHigh
    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
    FirewallRuleCrResourceStatusCreating
    CREATING
    FirewallRuleCrResourceStatusOperational
    OPERATIONAL
    FirewallRuleCrResourceStatusUpdating
    UPDATING
    FirewallRuleCrResourceStatusDeleting
    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
    DnsTunneling
    DNS_TUNNELING
    DictionaryDga
    DICTIONARY_DGA
    FirewallRuleDnsAdvancedProtectionDga
    DGA
    FirewallRuleDnsAdvancedProtectionDnsTunneling
    DNS_TUNNELING
    FirewallRuleDnsAdvancedProtectionDictionaryDga
    DICTIONARY_DGA
    Dga
    DGA
    DnsTunneling
    DNS_TUNNELING
    DictionaryDga
    DICTIONARY_DGA
    Dga
    DGA
    DnsTunneling
    DNS_TUNNELING
    DictionaryDga
    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
    FirewallRuleFirewallBlockResponseNodata
    NODATA
    FirewallRuleFirewallBlockResponseNxdomain
    NXDOMAIN
    FirewallRuleFirewallBlockResponseOverride
    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
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.58.0
    published on Monday, Mar 23, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.