aws.route53.getResolverFirewallConfig
Explore with Pulumi AI
aws.route53.ResolverFirewallConfig provides details about a specific a Route 53 Resolver DNS Firewall config.
This data source allows to find a details about a specific a Route 53 Resolver DNS Firewall config.
Example Usage
The following example shows how to get a firewall config using the VPC ID.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.route53.getResolverFirewallConfig({
    resourceId: "vpc-exampleid",
});
import pulumi
import pulumi_aws as aws
example = aws.route53.get_resolver_firewall_config(resource_id="vpc-exampleid")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := route53.LookupResolverFirewallConfig(ctx, &route53.LookupResolverFirewallConfigArgs{
			ResourceId: "vpc-exampleid",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.Route53.GetResolverFirewallConfig.Invoke(new()
    {
        ResourceId = "vpc-exampleid",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53.Route53Functions;
import com.pulumi.aws.route53.inputs.GetResolverFirewallConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = Route53Functions.getResolverFirewallConfig(GetResolverFirewallConfigArgs.builder()
            .resourceId("vpc-exampleid")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:route53:getResolverFirewallConfig
      arguments:
        resourceId: vpc-exampleid
Using getResolverFirewallConfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getResolverFirewallConfig(args: GetResolverFirewallConfigArgs, opts?: InvokeOptions): Promise<GetResolverFirewallConfigResult>
function getResolverFirewallConfigOutput(args: GetResolverFirewallConfigOutputArgs, opts?: InvokeOptions): Output<GetResolverFirewallConfigResult>def get_resolver_firewall_config(resource_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetResolverFirewallConfigResult
def get_resolver_firewall_config_output(resource_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetResolverFirewallConfigResult]func LookupResolverFirewallConfig(ctx *Context, args *LookupResolverFirewallConfigArgs, opts ...InvokeOption) (*LookupResolverFirewallConfigResult, error)
func LookupResolverFirewallConfigOutput(ctx *Context, args *LookupResolverFirewallConfigOutputArgs, opts ...InvokeOption) LookupResolverFirewallConfigResultOutput> Note: This function is named LookupResolverFirewallConfig in the Go SDK.
public static class GetResolverFirewallConfig 
{
    public static Task<GetResolverFirewallConfigResult> InvokeAsync(GetResolverFirewallConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetResolverFirewallConfigResult> Invoke(GetResolverFirewallConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResolverFirewallConfigResult> getResolverFirewallConfig(GetResolverFirewallConfigArgs args, InvokeOptions options)
public static Output<GetResolverFirewallConfigResult> getResolverFirewallConfig(GetResolverFirewallConfigArgs args, InvokeOptions options)
fn::invoke:
  function: aws:route53/getResolverFirewallConfig:getResolverFirewallConfig
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceId string
- The ID of the VPC from Amazon VPC that the configuration is for. - The following attribute is additionally exported: 
- ResourceId string
- The ID of the VPC from Amazon VPC that the configuration is for. - The following attribute is additionally exported: 
- resourceId String
- The ID of the VPC from Amazon VPC that the configuration is for. - The following attribute is additionally exported: 
- resourceId string
- The ID of the VPC from Amazon VPC that the configuration is for. - The following attribute is additionally exported: 
- resource_id str
- The ID of the VPC from Amazon VPC that the configuration is for. - The following attribute is additionally exported: 
- resourceId String
- The ID of the VPC from Amazon VPC that the configuration is for. - The following attribute is additionally exported: 
getResolverFirewallConfig Result
The following output properties are available:
- FirewallFail stringOpen 
- Id string
- The provider-assigned unique ID for this managed resource.
- OwnerId string
- ResourceId string
- FirewallFail stringOpen 
- Id string
- The provider-assigned unique ID for this managed resource.
- OwnerId string
- ResourceId string
- firewallFail StringOpen 
- id String
- The provider-assigned unique ID for this managed resource.
- ownerId String
- resourceId String
- firewallFail stringOpen 
- id string
- The provider-assigned unique ID for this managed resource.
- ownerId string
- resourceId string
- firewall_fail_ stropen 
- id str
- The provider-assigned unique ID for this managed resource.
- owner_id str
- resource_id str
- firewallFail StringOpen 
- id String
- The provider-assigned unique ID for this managed resource.
- ownerId String
- resourceId String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.