aws-cdk-lib.aws_route53resolver.CfnResolverEndpoint.IpAddressRequestProperty

interface IpAddressRequestProperty

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

In a CreateResolverEndpoint request, the IP address that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). IpAddressRequest also includes the ID of the subnet that contains the IP address.

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 ipAddressRequestProperty: route53resolver.CfnResolverEndpoint.IpAddressRequestProperty = {
  subnetId: 'subnetId',

  // the properties below are optional
  ip: 'ip',
  ipv6: 'ipv6',
};

Properties

NameTypeDescription
subnetIdstringThe ID of the subnet that contains the IP address.
ip?stringThe IPv4 address that you want to use for DNS queries.
ipv6?stringThe IPv6 address that you want to use for DNS queries.

subnetId

Type: string

The ID of the subnet that contains the IP address.


ip?

Type: string (optional)

The IPv4 address that you want to use for DNS queries.


ipv6?

Type: string (optional)

The IPv6 address that you want to use for DNS queries.