aws-cdk-lib.aws_route53resolver.CfnResolverEndpointProps

interface CfnResolverEndpointProps

LanguageType name
.NETAmazon.CDK.AWS.Route53Resolver.CfnResolverEndpointProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsroute53resolver#CfnResolverEndpointProps
Javasoftware.amazon.awscdk.services.route53resolver.CfnResolverEndpointProps
Pythonaws_cdk.aws_route53resolver.CfnResolverEndpointProps
TypeScript aws-cdk-lib » aws_route53resolver » CfnResolverEndpointProps

Properties for defining a CfnResolverEndpoint.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53resolver as route53resolver } from 'aws-cdk-lib';
const cfnResolverEndpointProps: route53resolver.CfnResolverEndpointProps = {
  direction: 'direction',
  ipAddresses: [{
    subnetId: 'subnetId',

    // the properties below are optional
    ip: 'ip',
    ipv6: 'ipv6',
  }],
  securityGroupIds: ['securityGroupIds'],

  // the properties below are optional
  name: 'name',
  outpostArn: 'outpostArn',
  preferredInstanceType: 'preferredInstanceType',
  resolverEndpointType: 'resolverEndpointType',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
directionstringIndicates whether the Resolver endpoint allows inbound or outbound DNS queries:.
ipAddressesIResolvable | IResolvable | IpAddressRequestProperty[]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).
securityGroupIdsstring[]The ID of one or more security groups that control access to this VPC.
name?stringA friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
outpostArn?stringAWS::Route53Resolver::ResolverEndpoint.OutpostArn.
preferredInstanceType?stringAWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType.
resolverEndpointType?stringThe Resolver endpoint IP address type.
tags?CfnTag[]Route 53 Resolver doesn't support updating tags through CloudFormation.

direction

Type: string

Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.

  • INBOUND : allows DNS queries to your VPC from your network
  • OUTBOUND : allows DNS queries from your VPC to your network

ipAddresses

Type: IResolvable | IResolvable | IpAddressRequestProperty[]

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.


securityGroupIds

Type: string[]

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

The security group must include one or more inbound rules (for inbound endpoints) or outbound rules (for outbound 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.


name?

Type: string (optional)

A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.


outpostArn?

Type: string (optional)

AWS::Route53Resolver::ResolverEndpoint.OutpostArn.


preferredInstanceType?

Type: string (optional)

AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType.


resolverEndpointType?

Type: string (optional)

The Resolver endpoint IP address type.


tags?

Type: CfnTag[] (optional)

Route 53 Resolver doesn't support updating tags through CloudFormation.