Skip to content
v2.275.0

IpAddressRequestProperty Struct ​

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 ​

ts
// 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 ​

ipoptionalstringipoptionalstripoptionalStringIpoptionalstringIpoptional*string#
The IPv4 address that you want to use for DNS queries.
ipv6optionalstringipv6optionalstripv6optionalStringIpv6optionalstringIpv6optional*string#
The IPv6 address that you want to use for DNS queries.
subnetIdstringsubnet_idstrsubnetIdStringSubnetIdstringSubnetId*stringrequired#
The ID of the subnet that contains the IP address.