ResolverEndpoint

class ResolverEndpoint : KotlinCustomResource

Provides a Route 53 Resolver endpoint resource.

Example Usage

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()
.direction("INBOUND")
.securityGroupIds(
aws_security_group.sg1().id(),
aws_security_group.sg2().id())
.ipAddresses(
ResolverEndpointIpAddressArgs.builder()
.subnetId(aws_subnet.sn1().id())
.build(),
ResolverEndpointIpAddressArgs.builder()
.subnetId(aws_subnet.sn2().id())
.ip("10.0.64.4")
.build())
.tags(Map.of("Environment", "Prod"))
.build());
}
}

Import

Route 53 Resolver endpoints can be imported using the Route 53 Resolver endpoint ID, e.g.,

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

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the Route 53 Resolver endpoint.

Link copied to clipboard
val direction: Output<String>

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

Link copied to clipboard
val hostVpcId: Output<String>

The ID of the VPC that you want to create the resolver endpoint in.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

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

Link copied to clipboard
val name: Output<String>

The friendly name of the Route 53 Resolver endpoint.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The ID of one or more security groups that you want to use to control access to this VPC.

Link copied to clipboard
val tags: Output<Map<String, String>>?

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

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>