Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

AWS Classic

v4.30.0 published on Tuesday, Nov 30, 2021 by Pulumi

getResolverEndpoint

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

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Aws.Route53.GetResolverEndpoint.InvokeAsync(new Aws.Route53.GetResolverEndpointArgs
        {
            ResolverEndpointId = "rslvr-in-1abc2345ef678g91h",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/route53"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "rslvr-in-1abc2345ef678g91h"
		_, err := route53.LookupResolverEndpoint(ctx, &route53.LookupResolverEndpointArgs{
			ResolverEndpointId: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_aws as aws

example = aws.route53.get_resolver_endpoint(resolver_endpoint_id="rslvr-in-1abc2345ef678g91h")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = pulumi.output(aws.route53.getResolverEndpoint({
    resolverEndpointId: "rslvr-in-1abc2345ef678g91h",
}));

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)
}

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
The 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
The 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
The 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
The ID of the Route53 Resolver Endpoint.

getResolverEndpoint Result

The following output properties are available:

Arn string
Direction string
Id string
The provider-assigned unique ID for this managed resource.
IpAddresses List<string>
Name string
Status string
VpcId string
Filters List<GetResolverEndpointFilter>
ResolverEndpointId string
Arn string
Direction string
Id string
The provider-assigned unique ID for this managed resource.
IpAddresses []string
Name string
Status string
VpcId string
Filters []GetResolverEndpointFilter
ResolverEndpointId string
arn string
direction string
id string
The provider-assigned unique ID for this managed resource.
ipAddresses string[]
name string
status string
vpcId string
filters GetResolverEndpointFilter[]
resolverEndpointId string
arn str
direction str
id str
The provider-assigned unique ID for this managed resource.
ip_addresses Sequence[str]
name str
status str
vpc_id str
filters Sequence[GetResolverEndpointFilter]
resolver_endpoint_id str

Supporting Types

GetResolverEndpointFilter

Name string
Values List<string>
Name string
Values []string
name string
values string[]
name str
values Sequence[str]

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.