AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateConditionalForwarder operation. Creates a conditional forwarder associated with your Amazon Web Services directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain.
Namespace: Amazon.DirectoryService.Model
Assembly: AWSSDK.DirectoryService.dll
Version: 3.x.y.z
public class CreateConditionalForwarderRequest : AmazonDirectoryServiceRequest IAmazonWebServiceRequest
The CreateConditionalForwarderRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
CreateConditionalForwarderRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
DirectoryId | System.String |
Gets and sets the property DirectoryId. The directory ID of the Amazon Web Services directory for which you are creating the conditional forwarder. |
|
DnsIpAddrs | System.Collections.Generic.List<System.String> |
Gets and sets the property DnsIpAddrs. The IP addresses of the remote DNS server associated with RemoteDomainName. |
|
DnsIpv6Addrs | System.Collections.Generic.List<System.String> |
Gets and sets the property DnsIpv6Addrs. The IPv6 addresses of the remote DNS server associated with RemoteDomainName. |
|
RemoteDomainName | System.String |
Gets and sets the property RemoteDomainName. The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship. |
The following example creates a conditional forwarder associated with your AWS directory.
var client = new AmazonDirectoryServiceClient();
var response = client.CreateConditionalForwarder(new CreateConditionalForwarderRequest
{
DirectoryId = "d-92654abfed",
DnsIpAddrs = new List<string> {
"172.30.21.228"
},
RemoteDomainName = "sales.example.com"
});
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5