Class ResolverEndpoint
Provides a Route 53 Resolver endpoint resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var foo = new Aws.Route53.ResolverEndpoint("foo", new Aws.Route53.ResolverEndpointArgs
{
Direction = "INBOUND",
IpAddresses =
{
new Aws.Route53.Inputs.ResolverEndpointIpAddressArgs
{
SubnetId = aws_subnet.Sn1.Id,
},
new Aws.Route53.Inputs.ResolverEndpointIpAddressArgs
{
Ip = "10.0.64.4",
SubnetId = aws_subnet.Sn2.Id,
},
},
SecurityGroupIds =
{
aws_security_group.Sg1.Id,
aws_security_group.Sg2.Id,
},
Tags =
{
{ "Environment", "Prod" },
},
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Route53
Assembly: Pulumi.Aws.dll
Syntax
public class ResolverEndpoint : CustomResource
Constructors
View SourceResolverEndpoint(String, ResolverEndpointArgs, CustomResourceOptions)
Create a ResolverEndpoint resource with the given unique name, arguments, and options.
Declaration
public ResolverEndpoint(string name, ResolverEndpointArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ResolverEndpointArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
The ARN of the Route 53 Resolver endpoint.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Direction
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).
Declaration
public Output<string> Direction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
HostVpcId
The ID of the VPC that you want to create the resolver endpoint in.
Declaration
public Output<string> HostVpcId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IpAddresses
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.
Declaration
public Output<ImmutableArray<ResolverEndpointIpAddress>> IpAddresses { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ResolverEndpointIpAddress>> |
Name
The friendly name of the Route 53 Resolver endpoint.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecurityGroupIds
The ID of one or more security groups that you want to use to control access to this VPC.
Declaration
public Output<ImmutableArray<string>> SecurityGroupIds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Tags
A map of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Methods
View SourceGet(String, Input<String>, ResolverEndpointState, CustomResourceOptions)
Get an existing ResolverEndpoint resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ResolverEndpoint Get(string name, Input<string> id, ResolverEndpointState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ResolverEndpointState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ResolverEndpoint |