Create Resolver Endpoint
| route53resolver_create_resolver_endpoint | R Documentation |
Creates a Resolver endpoint¶
Description¶
Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:
-
An inbound Resolver endpoint forwards DNS queries to the DNS service for a VPC from your network.
-
An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.
Usage¶
route53resolver_create_resolver_endpoint(CreatorRequestId, Name,
SecurityGroupIds, Direction, IpAddresses, OutpostArn,
PreferredInstanceType, Tags, ResolverEndpointType, Protocols,
RniEnhancedMetricsEnabled, TargetNameServerMetricsEnabled, Dns64Enabled,
Ipv6InternetAccessEnabled)
Arguments¶
CreatorRequestId |
[required] A unique string that identifies the request and that
allows failed requests to be retried without the risk of running the
operation twice. |
Name |
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console. |
SecurityGroupIds |
[required] The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network. Some security group rules will cause your connection to be tracked. For outbound resolver endpoint, it can potentially impact the maximum queries per second from outbound endpoint to your target name server. For inbound resolver endpoint, it can bring down the overall maximum queries per second per IP address to as low as 1500. To avoid connection tracking caused by security group, see Untracked connections. |
Direction |
[required] Specify the applicable value:
|
IpAddresses |
[required] The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC. Even though the minimum is 1, Route 53 requires that you create at least two. |
OutpostArn |
The Amazon Resource Name (ARN) of the Outpost. If you specify
this, you must also specify a value for the
|
PreferredInstanceType |
The instance type. If you specify this, you must also specify a
value for the |
Tags |
A list of the tag keys and values that you want to associate with the endpoint. |
ResolverEndpointType |
For the endpoint type you can choose either IPv4, IPv6, or dual-stack. A dual-stack endpoint means that it will resolve via both IPv4 and IPv6. This endpoint type is applied to all IP addresses. |
Protocols |
The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only. For a default inbound endpoint you can apply the protocols as follows:
For a delegation inbound endpoint you can use Do53 only. For an outbound endpoint you can apply the protocols as follows:
|
RniEnhancedMetricsEnabled |
Specifies whether RNI enhanced metrics are enabled for the Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint. When set to false, metrics are not published. Default is false. Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint RNI enhanced metrics. For more information, see Detailed metrics. |
TargetNameServerMetricsEnabled |
Specifies whether target name server metrics are enabled for the outbound Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint. When set to false, metrics are not published. Default is false. This is not supported for inbound Resolver endpoints. Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint target name server metrics. For more information, see Detailed metrics. |
Dns64Enabled |
Specifies whether DNS64 is enabled for the inbound Resolver
endpoint. When set to |
Ipv6InternetAccessEnabled |
Specifies whether IPv6 internet access is enabled for the
outbound Resolver endpoint. When set to When you enable IPv6 internet access, use network controls like security groups, NACLs, or egress-only internet gateways to protect the endpoint ENIs from unsolicited ingress traffic. Be aware that some network controls can affect DNS query throughput due to connection tracking. For more information, see Amazon EC2 security group connection tracking and Resolver endpoint scaling. |
Value¶
A list with the following syntax:
list(
ResolverEndpoint = list(
Id = "string",
CreatorRequestId = "string",
Arn = "string",
Name = "string",
SecurityGroupIds = list(
"string"
),
Direction = "INBOUND"|"OUTBOUND"|"INBOUND_DELEGATION",
IpAddressCount = 123,
HostVPCId = "string",
Status = "CREATING"|"OPERATIONAL"|"UPDATING"|"AUTO_RECOVERING"|"ACTION_NEEDED"|"DELETING",
StatusMessage = "string",
CreationTime = "string",
ModificationTime = "string",
OutpostArn = "string",
PreferredInstanceType = "string",
ResolverEndpointType = "IPV6"|"IPV4"|"DUALSTACK",
Protocols = list(
"DoH"|"Do53"|"DoH-FIPS"
),
RniEnhancedMetricsEnabled = TRUE|FALSE,
TargetNameServerMetricsEnabled = TRUE|FALSE,
Dns64Enabled = TRUE|FALSE,
Ipv6InternetAccessEnabled = TRUE|FALSE
)
)
Request syntax¶
svc$create_resolver_endpoint(
CreatorRequestId = "string",
Name = "string",
SecurityGroupIds = list(
"string"
),
Direction = "INBOUND"|"OUTBOUND"|"INBOUND_DELEGATION",
IpAddresses = list(
list(
SubnetId = "string",
Ip = "string",
Ipv6 = "string"
)
),
OutpostArn = "string",
PreferredInstanceType = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
ResolverEndpointType = "IPV6"|"IPV4"|"DUALSTACK",
Protocols = list(
"DoH"|"Do53"|"DoH-FIPS"
),
RniEnhancedMetricsEnabled = TRUE|FALSE,
TargetNameServerMetricsEnabled = TRUE|FALSE,
Dns64Enabled = TRUE|FALSE,
Ipv6InternetAccessEnabled = TRUE|FALSE
)