1. Packages
  2. AWS
  3. API Docs
  4. route53
  5. ResolverEndpoint
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.route53.ResolverEndpoint

Explore with Pulumi AI

Provides a Route 53 Resolver endpoint resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const foo = new aws.route53.ResolverEndpoint("foo", {
    name: "foo",
    direction: "INBOUND",
    resolverEndpointType: "IPV4",
    securityGroupIds: [
        sg1.id,
        sg2.id,
    ],
    ipAddresses: [
        {
            subnetId: sn1.id,
        },
        {
            subnetId: sn2.id,
            ip: "10.0.64.4",
        },
    ],
    protocols: [
        "Do53",
        "DoH",
    ],
    tags: {
        Environment: "Prod",
    },
});
Copy
import pulumi
import pulumi_aws as aws

foo = aws.route53.ResolverEndpoint("foo",
    name="foo",
    direction="INBOUND",
    resolver_endpoint_type="IPV4",
    security_group_ids=[
        sg1["id"],
        sg2["id"],
    ],
    ip_addresses=[
        {
            "subnet_id": sn1["id"],
        },
        {
            "subnet_id": sn2["id"],
            "ip": "10.0.64.4",
        },
    ],
    protocols=[
        "Do53",
        "DoH",
    ],
    tags={
        "Environment": "Prod",
    })
Copy
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.NewResolverEndpoint(ctx, "foo", &route53.ResolverEndpointArgs{
			Name:                 pulumi.String("foo"),
			Direction:            pulumi.String("INBOUND"),
			ResolverEndpointType: pulumi.String("IPV4"),
			SecurityGroupIds: pulumi.StringArray{
				sg1.Id,
				sg2.Id,
			},
			IpAddresses: route53.ResolverEndpointIpAddressArray{
				&route53.ResolverEndpointIpAddressArgs{
					SubnetId: pulumi.Any(sn1.Id),
				},
				&route53.ResolverEndpointIpAddressArgs{
					SubnetId: pulumi.Any(sn2.Id),
					Ip:       pulumi.String("10.0.64.4"),
				},
			},
			Protocols: pulumi.StringArray{
				pulumi.String("Do53"),
				pulumi.String("DoH"),
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("Prod"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var foo = new Aws.Route53.ResolverEndpoint("foo", new()
    {
        Name = "foo",
        Direction = "INBOUND",
        ResolverEndpointType = "IPV4",
        SecurityGroupIds = new[]
        {
            sg1.Id,
            sg2.Id,
        },
        IpAddresses = new[]
        {
            new Aws.Route53.Inputs.ResolverEndpointIpAddressArgs
            {
                SubnetId = sn1.Id,
            },
            new Aws.Route53.Inputs.ResolverEndpointIpAddressArgs
            {
                SubnetId = sn2.Id,
                Ip = "10.0.64.4",
            },
        },
        Protocols = new[]
        {
            "Do53",
            "DoH",
        },
        Tags = 
        {
            { "Environment", "Prod" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53.ResolverEndpoint;
import com.pulumi.aws.route53.ResolverEndpointArgs;
import com.pulumi.aws.route53.inputs.ResolverEndpointIpAddressArgs;
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) {
        var foo = new ResolverEndpoint("foo", ResolverEndpointArgs.builder()
            .name("foo")
            .direction("INBOUND")
            .resolverEndpointType("IPV4")
            .securityGroupIds(            
                sg1.id(),
                sg2.id())
            .ipAddresses(            
                ResolverEndpointIpAddressArgs.builder()
                    .subnetId(sn1.id())
                    .build(),
                ResolverEndpointIpAddressArgs.builder()
                    .subnetId(sn2.id())
                    .ip("10.0.64.4")
                    .build())
            .protocols(            
                "Do53",
                "DoH")
            .tags(Map.of("Environment", "Prod"))
            .build());

    }
}
Copy
resources:
  foo:
    type: aws:route53:ResolverEndpoint
    properties:
      name: foo
      direction: INBOUND
      resolverEndpointType: IPV4
      securityGroupIds:
        - ${sg1.id}
        - ${sg2.id}
      ipAddresses:
        - subnetId: ${sn1.id}
        - subnetId: ${sn2.id}
          ip: 10.0.64.4
      protocols:
        - Do53
        - DoH
      tags:
        Environment: Prod
Copy

Create ResolverEndpoint Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ResolverEndpoint(name: string, args: ResolverEndpointArgs, opts?: CustomResourceOptions);
@overload
def ResolverEndpoint(resource_name: str,
                     args: ResolverEndpointArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def ResolverEndpoint(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     direction: Optional[str] = None,
                     ip_addresses: Optional[Sequence[ResolverEndpointIpAddressArgs]] = None,
                     security_group_ids: Optional[Sequence[str]] = None,
                     name: Optional[str] = None,
                     protocols: Optional[Sequence[str]] = None,
                     resolver_endpoint_type: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None)
func NewResolverEndpoint(ctx *Context, name string, args ResolverEndpointArgs, opts ...ResourceOption) (*ResolverEndpoint, error)
public ResolverEndpoint(string name, ResolverEndpointArgs args, CustomResourceOptions? opts = null)
public ResolverEndpoint(String name, ResolverEndpointArgs args)
public ResolverEndpoint(String name, ResolverEndpointArgs args, CustomResourceOptions options)
type: aws:route53:ResolverEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ResolverEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ResolverEndpointArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ResolverEndpointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ResolverEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ResolverEndpointArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var resolverEndpointResource = new Aws.Route53.ResolverEndpoint("resolverEndpointResource", new()
{
    Direction = "string",
    IpAddresses = new[]
    {
        new Aws.Route53.Inputs.ResolverEndpointIpAddressArgs
        {
            SubnetId = "string",
            Ip = "string",
            IpId = "string",
            Ipv6 = "string",
        },
    },
    SecurityGroupIds = new[]
    {
        "string",
    },
    Name = "string",
    Protocols = new[]
    {
        "string",
    },
    ResolverEndpointType = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := route53.NewResolverEndpoint(ctx, "resolverEndpointResource", &route53.ResolverEndpointArgs{
	Direction: pulumi.String("string"),
	IpAddresses: route53.ResolverEndpointIpAddressArray{
		&route53.ResolverEndpointIpAddressArgs{
			SubnetId: pulumi.String("string"),
			Ip:       pulumi.String("string"),
			IpId:     pulumi.String("string"),
			Ipv6:     pulumi.String("string"),
		},
	},
	SecurityGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Protocols: pulumi.StringArray{
		pulumi.String("string"),
	},
	ResolverEndpointType: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var resolverEndpointResource = new ResolverEndpoint("resolverEndpointResource", ResolverEndpointArgs.builder()
    .direction("string")
    .ipAddresses(ResolverEndpointIpAddressArgs.builder()
        .subnetId("string")
        .ip("string")
        .ipId("string")
        .ipv6("string")
        .build())
    .securityGroupIds("string")
    .name("string")
    .protocols("string")
    .resolverEndpointType("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
resolver_endpoint_resource = aws.route53.ResolverEndpoint("resolverEndpointResource",
    direction="string",
    ip_addresses=[{
        "subnet_id": "string",
        "ip": "string",
        "ip_id": "string",
        "ipv6": "string",
    }],
    security_group_ids=["string"],
    name="string",
    protocols=["string"],
    resolver_endpoint_type="string",
    tags={
        "string": "string",
    })
Copy
const resolverEndpointResource = new aws.route53.ResolverEndpoint("resolverEndpointResource", {
    direction: "string",
    ipAddresses: [{
        subnetId: "string",
        ip: "string",
        ipId: "string",
        ipv6: "string",
    }],
    securityGroupIds: ["string"],
    name: "string",
    protocols: ["string"],
    resolverEndpointType: "string",
    tags: {
        string: "string",
    },
});
Copy
type: aws:route53:ResolverEndpoint
properties:
    direction: string
    ipAddresses:
        - ip: string
          ipId: string
          ipv6: string
          subnetId: string
    name: string
    protocols:
        - string
    resolverEndpointType: string
    securityGroupIds:
        - string
    tags:
        string: string
Copy

ResolverEndpoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ResolverEndpoint resource accepts the following input properties:

Direction
This property is required.
Changes to this property will trigger replacement.
string
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
IpAddresses This property is required. List<ResolverEndpointIpAddress>
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
SecurityGroupIds
This property is required.
Changes to this property will trigger replacement.
List<string>
ID of one or more security groups that you want to use to control access to this VPC.
Name string
Friendly name of the Route 53 Resolver endpoint.
Protocols List<string>
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
ResolverEndpointType string
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
Tags Dictionary<string, string>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Direction
This property is required.
Changes to this property will trigger replacement.
string
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
IpAddresses This property is required. []ResolverEndpointIpAddressArgs
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
SecurityGroupIds
This property is required.
Changes to this property will trigger replacement.
[]string
ID of one or more security groups that you want to use to control access to this VPC.
Name string
Friendly name of the Route 53 Resolver endpoint.
Protocols []string
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
ResolverEndpointType string
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
Tags map[string]string
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
direction
This property is required.
Changes to this property will trigger replacement.
String
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
ipAddresses This property is required. List<ResolverEndpointIpAddress>
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
securityGroupIds
This property is required.
Changes to this property will trigger replacement.
List<String>
ID of one or more security groups that you want to use to control access to this VPC.
name String
Friendly name of the Route 53 Resolver endpoint.
protocols List<String>
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
resolverEndpointType String
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
tags Map<String,String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
direction
This property is required.
Changes to this property will trigger replacement.
string
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
ipAddresses This property is required. ResolverEndpointIpAddress[]
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
securityGroupIds
This property is required.
Changes to this property will trigger replacement.
string[]
ID of one or more security groups that you want to use to control access to this VPC.
name string
Friendly name of the Route 53 Resolver endpoint.
protocols string[]
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
resolverEndpointType string
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
tags {[key: string]: string}
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
direction
This property is required.
Changes to this property will trigger replacement.
str
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
ip_addresses This property is required. Sequence[ResolverEndpointIpAddressArgs]
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
security_group_ids
This property is required.
Changes to this property will trigger replacement.
Sequence[str]
ID of one or more security groups that you want to use to control access to this VPC.
name str
Friendly name of the Route 53 Resolver endpoint.
protocols Sequence[str]
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
resolver_endpoint_type str
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
tags Mapping[str, str]
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
direction
This property is required.
Changes to this property will trigger replacement.
String
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
ipAddresses This property is required. List<Property Map>
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
securityGroupIds
This property is required.
Changes to this property will trigger replacement.
List<String>
ID of one or more security groups that you want to use to control access to this VPC.
name String
Friendly name of the Route 53 Resolver endpoint.
protocols List<String>
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
resolverEndpointType String
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
tags Map<String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the ResolverEndpoint resource produces the following output properties:

Arn string
ARN of the Route 53 Resolver endpoint.
HostVpcId string
ID of the VPC that you want to create the resolver endpoint in.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
ARN of the Route 53 Resolver endpoint.
HostVpcId string
ID of the VPC that you want to create the resolver endpoint in.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the Route 53 Resolver endpoint.
hostVpcId String
ID of the VPC that you want to create the resolver endpoint in.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
ARN of the Route 53 Resolver endpoint.
hostVpcId string
ID of the VPC that you want to create the resolver endpoint in.
id string
The provider-assigned unique ID for this managed resource.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
ARN of the Route 53 Resolver endpoint.
host_vpc_id str
ID of the VPC that you want to create the resolver endpoint in.
id str
The provider-assigned unique ID for this managed resource.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the Route 53 Resolver endpoint.
hostVpcId String
ID of the VPC that you want to create the resolver endpoint in.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Look up Existing ResolverEndpoint Resource

Get an existing ResolverEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ResolverEndpointState, opts?: CustomResourceOptions): ResolverEndpoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        direction: Optional[str] = None,
        host_vpc_id: Optional[str] = None,
        ip_addresses: Optional[Sequence[ResolverEndpointIpAddressArgs]] = None,
        name: Optional[str] = None,
        protocols: Optional[Sequence[str]] = None,
        resolver_endpoint_type: Optional[str] = None,
        security_group_ids: Optional[Sequence[str]] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> ResolverEndpoint
func GetResolverEndpoint(ctx *Context, name string, id IDInput, state *ResolverEndpointState, opts ...ResourceOption) (*ResolverEndpoint, error)
public static ResolverEndpoint Get(string name, Input<string> id, ResolverEndpointState? state, CustomResourceOptions? opts = null)
public static ResolverEndpoint get(String name, Output<String> id, ResolverEndpointState state, CustomResourceOptions options)
resources:  _:    type: aws:route53:ResolverEndpoint    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string
ARN of the Route 53 Resolver endpoint.
Direction Changes to this property will trigger replacement. string
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
HostVpcId string
ID of the VPC that you want to create the resolver endpoint in.
IpAddresses List<ResolverEndpointIpAddress>
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
Name string
Friendly name of the Route 53 Resolver endpoint.
Protocols List<string>
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
ResolverEndpointType string
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
SecurityGroupIds Changes to this property will trigger replacement. List<string>
ID of one or more security groups that you want to use to control access to this VPC.
Tags Dictionary<string, string>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
ARN of the Route 53 Resolver endpoint.
Direction Changes to this property will trigger replacement. string
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
HostVpcId string
ID of the VPC that you want to create the resolver endpoint in.
IpAddresses []ResolverEndpointIpAddressArgs
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
Name string
Friendly name of the Route 53 Resolver endpoint.
Protocols []string
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
ResolverEndpointType string
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
SecurityGroupIds Changes to this property will trigger replacement. []string
ID of one or more security groups that you want to use to control access to this VPC.
Tags map[string]string
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the Route 53 Resolver endpoint.
direction Changes to this property will trigger replacement. String
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
hostVpcId String
ID of the VPC that you want to create the resolver endpoint in.
ipAddresses List<ResolverEndpointIpAddress>
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
name String
Friendly name of the Route 53 Resolver endpoint.
protocols List<String>
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
resolverEndpointType String
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
securityGroupIds Changes to this property will trigger replacement. List<String>
ID of one or more security groups that you want to use to control access to this VPC.
tags Map<String,String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
ARN of the Route 53 Resolver endpoint.
direction Changes to this property will trigger replacement. string
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
hostVpcId string
ID of the VPC that you want to create the resolver endpoint in.
ipAddresses ResolverEndpointIpAddress[]
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
name string
Friendly name of the Route 53 Resolver endpoint.
protocols string[]
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
resolverEndpointType string
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
securityGroupIds Changes to this property will trigger replacement. string[]
ID of one or more security groups that you want to use to control access to this VPC.
tags {[key: string]: string}
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
ARN of the Route 53 Resolver endpoint.
direction Changes to this property will trigger replacement. str
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
host_vpc_id str
ID of the VPC that you want to create the resolver endpoint in.
ip_addresses Sequence[ResolverEndpointIpAddressArgs]
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
name str
Friendly name of the Route 53 Resolver endpoint.
protocols Sequence[str]
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
resolver_endpoint_type str
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
security_group_ids Changes to this property will trigger replacement. Sequence[str]
ID of one or more security groups that you want to use to control access to this VPC.
tags Mapping[str, str]
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the Route 53 Resolver endpoint.
direction Changes to this property will trigger replacement. String
Direction of DNS queries to or from the Route 53 Resolver endpoint. Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC) or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
hostVpcId String
ID of the VPC that you want to create the resolver endpoint in.
ipAddresses List<Property Map>
Subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
name String
Friendly name of the Route 53 Resolver endpoint.
protocols List<String>
Protocols you want to use for the Route 53 Resolver endpoint. Valid values are DoH, Do53, or DoH-FIPS.
resolverEndpointType String
Endpoint IP type. This endpoint type is applied to all IP addresses. Valid values are IPV6,IPV4 or DUALSTACK (both IPv4 and IPv6).
securityGroupIds Changes to this property will trigger replacement. List<String>
ID of one or more security groups that you want to use to control access to this VPC.
tags Map<String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Supporting Types

ResolverEndpointIpAddress
, ResolverEndpointIpAddressArgs

SubnetId This property is required. string
ID of the subnet that contains the IP address.
Ip string
IPv4 address in the subnet that you want to use for DNS queries.
IpId string
Ipv6 string
IPv6 address in the subnet that you want to use for DNS queries.
SubnetId This property is required. string
ID of the subnet that contains the IP address.
Ip string
IPv4 address in the subnet that you want to use for DNS queries.
IpId string
Ipv6 string
IPv6 address in the subnet that you want to use for DNS queries.
subnetId This property is required. String
ID of the subnet that contains the IP address.
ip String
IPv4 address in the subnet that you want to use for DNS queries.
ipId String
ipv6 String
IPv6 address in the subnet that you want to use for DNS queries.
subnetId This property is required. string
ID of the subnet that contains the IP address.
ip string
IPv4 address in the subnet that you want to use for DNS queries.
ipId string
ipv6 string
IPv6 address in the subnet that you want to use for DNS queries.
subnet_id This property is required. str
ID of the subnet that contains the IP address.
ip str
IPv4 address in the subnet that you want to use for DNS queries.
ip_id str
ipv6 str
IPv6 address in the subnet that you want to use for DNS queries.
subnetId This property is required. String
ID of the subnet that contains the IP address.
ip String
IPv4 address in the subnet that you want to use for DNS queries.
ipId String
ipv6 String
IPv6 address in the subnet that you want to use for DNS queries.

Import

Using pulumi import, import Route 53 Resolver endpoints using the Route 53 Resolver endpoint ID. For example:

$ pulumi import aws:route53/resolverEndpoint:ResolverEndpoint foo rslvr-in-abcdef01234567890
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

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