You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DirectoryService::Types::CreateTrustRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateTrustRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  directory_id: "DirectoryId", # required
  remote_domain_name: "RemoteDomainName", # required
  trust_password: "TrustPassword", # required
  trust_direction: "One-Way: Outgoing", # required, accepts One-Way: Outgoing, One-Way: Incoming, Two-Way
  trust_type: "Forest", # accepts Forest, External
  conditional_forwarder_ip_addrs: ["IpAddr"],
  selective_auth: "Enabled", # accepts Enabled, Disabled
}

AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your AWS Managed Microsoft AD directory, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.

This action initiates the creation of the AWS side of a trust relationship between an AWS Managed Microsoft AD directory and an external domain.

Instance Attribute Summary collapse

Instance Attribute Details

#conditional_forwarder_ip_addrsArray<String>

The IP addresses of the remote DNS server associated with RemoteDomainName.

Returns:

  • (Array<String>)

    The IP addresses of the remote DNS server associated with RemoteDomainName.

#directory_idString

The Directory ID of the AWS Managed Microsoft AD directory for which to establish the trust relationship.

Returns:

  • (String)

    The Directory ID of the AWS Managed Microsoft AD directory for which to establish the trust relationship.

#remote_domain_nameString

The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.

Returns:

  • (String)

    The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.

#selective_authString

Optional parameter to enable selective authentication for the trust.

Possible values:

  • Enabled
  • Disabled

Returns:

  • (String)

    Optional parameter to enable selective authentication for the trust.

#trust_directionString

The direction of the trust relationship.

Possible values:

  • One-Way: Outgoing
  • One-Way: Incoming
  • Two-Way

Returns:

  • (String)

    The direction of the trust relationship.

#trust_passwordString

The trust password. The must be the same password that was used when creating the trust relationship on the external domain.

Returns:

  • (String)

    The trust password.

#trust_typeString

The trust relationship type. Forest is the default.

Possible values:

  • Forest
  • External

Returns:

  • (String)

    The trust relationship type.