Class CfnResolverRule.TargetAddressProperty
In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Route53Resolver
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TargetAddressProperty : Object, CfnResolverRule.ITargetAddressProperty
Syntax (vb)
Public Class TargetAddressProperty
Inherits Object
Implements CfnResolverRule.ITargetAddressProperty
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 targetAddressProperty = new TargetAddressProperty {
Ip = "ip",
Ipv6 = "ipv6",
Port = "port",
Protocol = "protocol"
};
Synopsis
Constructors
TargetAddressProperty() |
Properties
Ip | One IPv4 address that you want to forward DNS queries to. |
Ipv6 | One IPv6 address that you want to forward DNS queries to. |
Port | The port at |
Protocol | The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only. |
Constructors
TargetAddressProperty()
public TargetAddressProperty()
Properties
Ip
One IPv4 address that you want to forward DNS queries to.
public string Ip { get; set; }
Property Value
System.String
Remarks
Ipv6
One IPv6 address that you want to forward DNS queries to.
public string Ipv6 { get; set; }
Property Value
System.String
Remarks
Port
The port at Ip
that you want to forward DNS queries to.
public string Port { get; set; }
Property Value
System.String
Remarks
Protocol
The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
public string Protocol { get; set; }
Property Value
System.String
Remarks
For an inbound endpoint you can apply the protocols as follows:
For an outbound endpoint you can apply the protocols as follows: