AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 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/v5/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
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = Output.of(Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
            .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
            .build()));

    }
}
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",
}));
variables:
  example:
    Fn::Invoke:
      Function: aws:route53:getResolverEndpoint
      Arguments:
        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)
}
public static CompletableFuture<GetResolverEndpointResult> getResolverEndpoint(GetResolverEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
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

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 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 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.

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

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 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 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
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<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
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.