DirectoryService / Client / describe_conditional_forwarders



Obtains information about the conditional forwarders for this account.

If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID.

See also: AWS API Documentation

Request Syntax

response = client.describe_conditional_forwarders(
  • DirectoryId (string) –


    The directory ID for which to get the list of associated conditional forwarders.

  • RemoteDomainNames (list) –

    The fully qualified domain names (FQDN) of the remote domains for which to get the list of associated conditional forwarders. If this member is null, all conditional forwarders are returned.

    • (string) –

Return type:



Response Syntax

    'ConditionalForwarders': [
            'RemoteDomainName': 'string',
            'DnsIpAddrs': [
            'ReplicationScope': 'Domain'

Response Structure

  • (dict) –

    The result of a DescribeConditionalForwarder request.

    • ConditionalForwarders (list) –

      The list of conditional forwarders that have been created.

      • (dict) –

        Points to a remote domain with which you are setting up a trust relationship. Conditional forwarders are required in order to set up a trust relationship with another domain.

        • RemoteDomainName (string) –

          The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.

        • DnsIpAddrs (list) –

          The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to.

          • (string) –

        • ReplicationScope (string) –

          The replication scope of the conditional forwarder. The only allowed value is Domain, which will replicate the conditional forwarder to all of the domain controllers for your Amazon Web Services directory.


  • DirectoryService.Client.exceptions.EntityDoesNotExistException

  • DirectoryService.Client.exceptions.DirectoryUnavailableException

  • DirectoryService.Client.exceptions.InvalidParameterException

  • DirectoryService.Client.exceptions.UnsupportedOperationException

  • DirectoryService.Client.exceptions.ClientException

  • DirectoryService.Client.exceptions.ServiceException