1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. route53resolver
  6. FirewallConfig

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::Route53Resolver::FirewallConfig. Configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).

    Create FirewallConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FirewallConfig(name: string, args: FirewallConfigArgs, opts?: CustomResourceOptions);
    @overload
    def FirewallConfig(resource_name: str,
                       args: FirewallConfigArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def FirewallConfig(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       firewall_fail_open: Optional[FirewallConfigFirewallFailOpen] = None,
                       resource_id: Optional[str] = None)
    func NewFirewallConfig(ctx *Context, name string, args FirewallConfigArgs, opts ...ResourceOption) (*FirewallConfig, error)
    public FirewallConfig(string name, FirewallConfigArgs args, CustomResourceOptions? opts = null)
    public FirewallConfig(String name, FirewallConfigArgs args)
    public FirewallConfig(String name, FirewallConfigArgs args, CustomResourceOptions options)
    
    type: aws-native:route53resolver:FirewallConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_route53resolver_firewall_config" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FirewallConfigArgs
    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 FirewallConfigArgs
    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 FirewallConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FirewallConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FirewallConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    FirewallConfig 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 FirewallConfig resource accepts the following input properties:

    FirewallFailOpen Pulumi.AwsNative.Route53Resolver.FirewallConfigFirewallFailOpen
    Determines how DNS Firewall operates during failures. By default, fail open is disabled, which means the failure mode is closed. If you enable this option, the failure mode is open. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
    ResourceId string
    The ID of the VPC that this firewall configuration applies to.
    FirewallFailOpen FirewallConfigFirewallFailOpen
    Determines how DNS Firewall operates during failures. By default, fail open is disabled, which means the failure mode is closed. If you enable this option, the failure mode is open. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
    ResourceId string
    The ID of the VPC that this firewall configuration applies to.
    firewall_fail_open "ENABLED" | "DISABLED" | "USE_LOCAL_RESOURCE_SETTING"
    Determines how DNS Firewall operates during failures. By default, fail open is disabled, which means the failure mode is closed. If you enable this option, the failure mode is open. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
    resource_id string
    The ID of the VPC that this firewall configuration applies to.
    firewallFailOpen FirewallConfigFirewallFailOpen
    Determines how DNS Firewall operates during failures. By default, fail open is disabled, which means the failure mode is closed. If you enable this option, the failure mode is open. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
    resourceId String
    The ID of the VPC that this firewall configuration applies to.
    firewallFailOpen FirewallConfigFirewallFailOpen
    Determines how DNS Firewall operates during failures. By default, fail open is disabled, which means the failure mode is closed. If you enable this option, the failure mode is open. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
    resourceId string
    The ID of the VPC that this firewall configuration applies to.
    firewall_fail_open FirewallConfigFirewallFailOpen
    Determines how DNS Firewall operates during failures. By default, fail open is disabled, which means the failure mode is closed. If you enable this option, the failure mode is open. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
    resource_id str
    The ID of the VPC that this firewall configuration applies to.
    firewallFailOpen "ENABLED" | "DISABLED" | "USE_LOCAL_RESOURCE_SETTING"
    Determines how DNS Firewall operates during failures. By default, fail open is disabled, which means the failure mode is closed. If you enable this option, the failure mode is open. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
    resourceId String
    The ID of the VPC that this firewall configuration applies to.

    Outputs

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

    Arn string
    The ARN of the firewall configuration.
    AwsId string
    The ID of the firewall configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerId string
    The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
    Arn string
    The ARN of the firewall configuration.
    AwsId string
    The ID of the firewall configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerId string
    The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
    arn string
    The ARN of the firewall configuration.
    aws_id string
    The ID of the firewall configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    owner_id string
    The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
    arn String
    The ARN of the firewall configuration.
    awsId String
    The ID of the firewall configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    ownerId String
    The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
    arn string
    The ARN of the firewall configuration.
    awsId string
    The ID of the firewall configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    ownerId string
    The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
    arn str
    The ARN of the firewall configuration.
    aws_id str
    The ID of the firewall configuration.
    id str
    The provider-assigned unique ID for this managed resource.
    owner_id str
    The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
    arn String
    The ARN of the firewall configuration.
    awsId String
    The ID of the firewall configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    ownerId String
    The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.

    Look up Existing FirewallConfig Resource

    Get an existing FirewallConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): FirewallConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> FirewallConfig
    func GetFirewallConfig(ctx *Context, name string, id IDInput, state *FirewallConfigState, opts ...ResourceOption) (*FirewallConfig, error)
    public static FirewallConfig Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static FirewallConfig get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingFirewallConfig:    type: aws-native:route53resolver:FirewallConfig    get:      id: ${id}
    import {
      to = aws-native_route53resolver_firewall_config.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state FirewallConfigState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    FirewallConfigFirewallFailOpen

    Determines how DNS Firewall operates during failures. By default, fail open is disabled, which means the failure mode is closed. If you enable this option, the failure mode is open. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.

    NameValue
    EnabledENABLED
    DisabledDISABLED
    UseLocalResourceSettingUSE_LOCAL_RESOURCE_SETTING
    NameValue
    FirewallConfigFirewallFailOpenEnabledENABLED
    FirewallConfigFirewallFailOpenDisabledDISABLED
    FirewallConfigFirewallFailOpenUseLocalResourceSettingUSE_LOCAL_RESOURCE_SETTING
    Value
    ENABLED
    DISABLED
    USE_LOCAL_RESOURCE_SETTING
    NameValue
    EnabledENABLED
    DisabledDISABLED
    UseLocalResourceSettingUSE_LOCAL_RESOURCE_SETTING
    NameValue
    EnabledENABLED
    DisabledDISABLED
    UseLocalResourceSettingUSE_LOCAL_RESOURCE_SETTING
    NameValue
    ENABLEDENABLED
    DISABLEDDISABLED
    USE_LOCAL_RESOURCE_SETTINGUSE_LOCAL_RESOURCE_SETTING
    Value
    ENABLED
    DISABLED
    USE_LOCAL_RESOURCE_SETTING

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial