Class 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.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Route53Resolver
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResolverEndpoint.IpAddressRequestProperty : CfnResolverEndpoint.IIpAddressRequestProperty
Syntax (vb)
Public Class CfnResolverEndpoint.IpAddressRequestProperty Implements CfnResolverEndpoint.IIpAddressRequestProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53Resolver;
var ipAddressRequestProperty = new IpAddressRequestProperty {
SubnetId = "subnetId",
// the properties below are optional
Ip = "ip",
Ipv6 = "ipv6"
};
Synopsis
Constructors
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). |
Properties
Ip | The IPv4 address that you want to use for DNS queries. |
Ipv6 | The IPv6 address that you want to use for DNS queries. |
SubnetId | The ID of the subnet that contains the IP address. |
Constructors
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.
public IpAddressRequestProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53Resolver;
var ipAddressRequestProperty = new IpAddressRequestProperty {
SubnetId = "subnetId",
// the properties below are optional
Ip = "ip",
Ipv6 = "ipv6"
};
Properties
Ip
The IPv4 address that you want to use for DNS queries.
public string? Ip { get; set; }
Property Value
Remarks
Ipv6
The IPv6 address that you want to use for DNS queries.
public string? Ipv6 { get; set; }
Property Value
Remarks
SubnetId
The ID of the subnet that contains the IP address.
public string SubnetId { get; set; }