1. Packages
  2. AWS Classic
  3. API Docs
  4. route53
  5. getResolverFirewallDomainList

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.route53.getResolverFirewallDomainList

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    aws.route53.ResolverFirewallDomainList Retrieves the specified firewall domain list.

    This data source allows to retrieve details about a specific a Route 53 Resolver DNS Firewall domain list.

    Example Usage

    The following example shows how to get a firewall domain list from its ID.

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.route53.getResolverFirewallDomainList({
        firewallDomainListId: "rslvr-fdl-example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.route53.get_resolver_firewall_domain_list(firewall_domain_list_id="rslvr-fdl-example")
    
    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.LookupResolverFirewallDomainList(ctx, &route53.LookupResolverFirewallDomainListArgs{
    			FirewallDomainListId: "rslvr-fdl-example",
    		}, 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.GetResolverFirewallDomainList.Invoke(new()
        {
            FirewallDomainListId = "rslvr-fdl-example",
        });
    
    });
    
    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.GetResolverFirewallDomainListArgs;
    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.getResolverFirewallDomainList(GetResolverFirewallDomainListArgs.builder()
                .firewallDomainListId("rslvr-fdl-example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: aws:route53:getResolverFirewallDomainList
          Arguments:
            firewallDomainListId: rslvr-fdl-example
    

    Using getResolverFirewallDomainList

    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 getResolverFirewallDomainList(args: GetResolverFirewallDomainListArgs, opts?: InvokeOptions): Promise<GetResolverFirewallDomainListResult>
    function getResolverFirewallDomainListOutput(args: GetResolverFirewallDomainListOutputArgs, opts?: InvokeOptions): Output<GetResolverFirewallDomainListResult>
    def get_resolver_firewall_domain_list(firewall_domain_list_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetResolverFirewallDomainListResult
    def get_resolver_firewall_domain_list_output(firewall_domain_list_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetResolverFirewallDomainListResult]
    func LookupResolverFirewallDomainList(ctx *Context, args *LookupResolverFirewallDomainListArgs, opts ...InvokeOption) (*LookupResolverFirewallDomainListResult, error)
    func LookupResolverFirewallDomainListOutput(ctx *Context, args *LookupResolverFirewallDomainListOutputArgs, opts ...InvokeOption) LookupResolverFirewallDomainListResultOutput

    > Note: This function is named LookupResolverFirewallDomainList in the Go SDK.

    public static class GetResolverFirewallDomainList 
    {
        public static Task<GetResolverFirewallDomainListResult> InvokeAsync(GetResolverFirewallDomainListArgs args, InvokeOptions? opts = null)
        public static Output<GetResolverFirewallDomainListResult> Invoke(GetResolverFirewallDomainListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResolverFirewallDomainListResult> getResolverFirewallDomainList(GetResolverFirewallDomainListArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:route53/getResolverFirewallDomainList:getResolverFirewallDomainList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FirewallDomainListId string

    The ID of the domain list.

    The following attribute is additionally exported:

    FirewallDomainListId string

    The ID of the domain list.

    The following attribute is additionally exported:

    firewallDomainListId String

    The ID of the domain list.

    The following attribute is additionally exported:

    firewallDomainListId string

    The ID of the domain list.

    The following attribute is additionally exported:

    firewall_domain_list_id str

    The ID of the domain list.

    The following attribute is additionally exported:

    firewallDomainListId String

    The ID of the domain list.

    The following attribute is additionally exported:

    getResolverFirewallDomainList Result

    The following output properties are available:

    Arn string
    CreationTime string
    CreatorRequestId string
    DomainCount int
    FirewallDomainListId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedOwnerName string
    ModificationTime string
    Name string
    Status string
    StatusMessage string
    Arn string
    CreationTime string
    CreatorRequestId string
    DomainCount int
    FirewallDomainListId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedOwnerName string
    ModificationTime string
    Name string
    Status string
    StatusMessage string
    arn String
    creationTime String
    creatorRequestId String
    domainCount Integer
    firewallDomainListId String
    id String
    The provider-assigned unique ID for this managed resource.
    managedOwnerName String
    modificationTime String
    name String
    status String
    statusMessage String
    arn string
    creationTime string
    creatorRequestId string
    domainCount number
    firewallDomainListId string
    id string
    The provider-assigned unique ID for this managed resource.
    managedOwnerName string
    modificationTime string
    name string
    status string
    statusMessage string
    arn str
    creation_time str
    creator_request_id str
    domain_count int
    firewall_domain_list_id str
    id str
    The provider-assigned unique ID for this managed resource.
    managed_owner_name str
    modification_time str
    name str
    status str
    status_message str
    arn String
    creationTime String
    creatorRequestId String
    domainCount Number
    firewallDomainListId String
    id String
    The provider-assigned unique ID for this managed resource.
    managedOwnerName String
    modificationTime String
    name String
    status String
    statusMessage String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi