1. Packages
  2. AWS
  3. API Docs
  4. route53
  5. getResolverEndpoint
AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi

aws.route53.getResolverEndpoint

Explore with Pulumi AI

aws logo
AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi

    aws.route53.ResolverEndpoint provides details about a specific Route53 Resolver Endpoint.

    This data source allows to find a list of IPaddresses associated with a specific Route53 Resolver Endpoint.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.route53.getResolverEndpoint({
        resolverEndpointId: "rslvr-in-1abc2345ef678g91h",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.route53.get_resolver_endpoint(resolver_endpoint_id="rslvr-in-1abc2345ef678g91h")
    
    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.LookupResolverEndpoint(ctx, &route53.LookupResolverEndpointArgs{
    			ResolverEndpointId: pulumi.StringRef("rslvr-in-1abc2345ef678g91h"),
    		}, 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.GetResolverEndpoint.Invoke(new()
        {
            ResolverEndpointId = "rslvr-in-1abc2345ef678g91h",
        });
    
    });
    
    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.GetResolverEndpointArgs;
    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.getResolverEndpoint(GetResolverEndpointArgs.builder()
                .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:route53:getResolverEndpoint
          arguments:
            resolverEndpointId: rslvr-in-1abc2345ef678g91h
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.route53.getResolverEndpoint({
        filters: [{
            name: "NAME",
            values: ["MyResolverExampleName"],
        }],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.route53.get_resolver_endpoint(filters=[{
        "name": "NAME",
        "values": ["MyResolverExampleName"],
    }])
    
    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.LookupResolverEndpoint(ctx, &route53.LookupResolverEndpointArgs{
    			Filters: []route53.GetResolverEndpointFilter{
    				{
    					Name: "NAME",
    					Values: []string{
    						"MyResolverExampleName",
    					},
    				},
    			},
    		}, 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.GetResolverEndpoint.Invoke(new()
        {
            Filters = new[]
            {
                new Aws.Route53.Inputs.GetResolverEndpointFilterInputArgs
                {
                    Name = "NAME",
                    Values = new[]
                    {
                        "MyResolverExampleName",
                    },
                },
            },
        });
    
    });
    
    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.GetResolverEndpointArgs;
    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.getResolverEndpoint(GetResolverEndpointArgs.builder()
                .filters(GetResolverEndpointFilterArgs.builder()
                    .name("NAME")
                    .values("MyResolverExampleName")
                    .build())
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:route53:getResolverEndpoint
          arguments:
            filters:
              - name: NAME
                values:
                  - MyResolverExampleName
    

    Using getResolverEndpoint

    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 getResolverEndpoint(args: GetResolverEndpointArgs, opts?: InvokeOptions): Promise<GetResolverEndpointResult>
    function getResolverEndpointOutput(args: GetResolverEndpointOutputArgs, opts?: InvokeOptions): Output<GetResolverEndpointResult>
    def get_resolver_endpoint(filters: Optional[Sequence[GetResolverEndpointFilter]] = None,
                              resolver_endpoint_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetResolverEndpointResult
    def get_resolver_endpoint_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetResolverEndpointFilterArgs]]]] = None,
                              resolver_endpoint_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetResolverEndpointResult]
    func LookupResolverEndpoint(ctx *Context, args *LookupResolverEndpointArgs, opts ...InvokeOption) (*LookupResolverEndpointResult, error)
    func LookupResolverEndpointOutput(ctx *Context, args *LookupResolverEndpointOutputArgs, opts ...InvokeOption) LookupResolverEndpointResultOutput

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

    public static class GetResolverEndpoint 
    {
        public static Task<GetResolverEndpointResult> InvokeAsync(GetResolverEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetResolverEndpointResult> Invoke(GetResolverEndpointInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResolverEndpointResult> getResolverEndpoint(GetResolverEndpointArgs args, InvokeOptions options)
    public static Output<GetResolverEndpointResult> getResolverEndpoint(GetResolverEndpointArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:route53/getResolverEndpoint:getResolverEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetResolverEndpointFilter>
    One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
    ResolverEndpointId string
    ID of the Route53 Resolver Endpoint.
    Filters []GetResolverEndpointFilter
    One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
    ResolverEndpointId string
    ID of the Route53 Resolver Endpoint.
    filters List<GetResolverEndpointFilter>
    One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
    resolverEndpointId String
    ID of the Route53 Resolver Endpoint.
    filters GetResolverEndpointFilter[]
    One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
    resolverEndpointId string
    ID of the Route53 Resolver Endpoint.
    filters Sequence[GetResolverEndpointFilter]
    One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
    resolver_endpoint_id str
    ID of the Route53 Resolver Endpoint.
    filters List<Property Map>
    One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
    resolverEndpointId String
    ID of the Route53 Resolver Endpoint.

    getResolverEndpoint Result

    The following output properties are available:

    Arn string
    Computed ARN of the Route53 Resolver Endpoint.
    Direction string
    Direction of the queries to or from the Resolver Endpoint .
    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddresses List<string>
    List of IPaddresses that have been associated with the Resolver Endpoint.
    Name string
    Protocols List<string>
    The protocols used by the Resolver endpoint.
    ResolverEndpointType string
    The Resolver endpoint IP address type.
    Status string
    Current status of the Resolver Endpoint.
    VpcId string
    ID of the Host VPC that the Resolver Endpoint resides in.
    Filters List<GetResolverEndpointFilter>
    ResolverEndpointId string
    Arn string
    Computed ARN of the Route53 Resolver Endpoint.
    Direction string
    Direction of the queries to or from the Resolver Endpoint .
    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddresses []string
    List of IPaddresses that have been associated with the Resolver Endpoint.
    Name string
    Protocols []string
    The protocols used by the Resolver endpoint.
    ResolverEndpointType string
    The Resolver endpoint IP address type.
    Status string
    Current status of the Resolver Endpoint.
    VpcId string
    ID of the Host VPC that the Resolver Endpoint resides in.
    Filters []GetResolverEndpointFilter
    ResolverEndpointId string
    arn String
    Computed ARN of the Route53 Resolver Endpoint.
    direction String
    Direction of the queries to or from the Resolver Endpoint .
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddresses List<String>
    List of IPaddresses that have been associated with the Resolver Endpoint.
    name String
    protocols List<String>
    The protocols used by the Resolver endpoint.
    resolverEndpointType String
    The Resolver endpoint IP address type.
    status String
    Current status of the Resolver Endpoint.
    vpcId String
    ID of the Host VPC that the Resolver Endpoint resides in.
    filters List<GetResolverEndpointFilter>
    resolverEndpointId String
    arn string
    Computed ARN of the Route53 Resolver Endpoint.
    direction string
    Direction of the queries to or from the Resolver Endpoint .
    id string
    The provider-assigned unique ID for this managed resource.
    ipAddresses string[]
    List of IPaddresses that have been associated with the Resolver Endpoint.
    name string
    protocols string[]
    The protocols used by the Resolver endpoint.
    resolverEndpointType string
    The Resolver endpoint IP address type.
    status string
    Current status of the Resolver Endpoint.
    vpcId string
    ID of the Host VPC that the Resolver Endpoint resides in.
    filters GetResolverEndpointFilter[]
    resolverEndpointId string
    arn str
    Computed ARN of the Route53 Resolver Endpoint.
    direction str
    Direction of the queries to or from the Resolver Endpoint .
    id str
    The provider-assigned unique ID for this managed resource.
    ip_addresses Sequence[str]
    List of IPaddresses that have been associated with the Resolver Endpoint.
    name str
    protocols Sequence[str]
    The protocols used by the Resolver endpoint.
    resolver_endpoint_type str
    The Resolver endpoint IP address type.
    status str
    Current status of the Resolver Endpoint.
    vpc_id str
    ID of the Host VPC that the Resolver Endpoint resides in.
    filters Sequence[GetResolverEndpointFilter]
    resolver_endpoint_id str
    arn String
    Computed ARN of the Route53 Resolver Endpoint.
    direction String
    Direction of the queries to or from the Resolver Endpoint .
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddresses List<String>
    List of IPaddresses that have been associated with the Resolver Endpoint.
    name String
    protocols List<String>
    The protocols used by the Resolver endpoint.
    resolverEndpointType String
    The Resolver endpoint IP address type.
    status String
    Current status of the Resolver Endpoint.
    vpcId String
    ID of the Host VPC that the Resolver Endpoint resides in.
    filters List<Property Map>
    resolverEndpointId String

    Supporting Types

    GetResolverEndpointFilter

    Name string
    Values List<string>
    Name string
    Values []string
    name String
    values List<String>
    name string
    values string[]
    name str
    values Sequence[str]
    name String
    values List<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
    AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi