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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb

Overview

Note:

When making an API call, you may pass CreateTrustRequest data as a 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
  conditional_forwarder_ip_addrs: ["IpAddr"],
}

AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, 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 a Microsoft AD in the AWS cloud 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>)


715
716
717
718
719
720
721
722
723
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 715

class CreateTrustRequest < Struct.new(
  :directory_id,
  :remote_domain_name,
  :trust_password,
  :trust_direction,
  :trust_type,
  :conditional_forwarder_ip_addrs)
  include Aws::Structure
end

#directory_idString

The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.

Returns:

  • (String)


715
716
717
718
719
720
721
722
723
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 715

class CreateTrustRequest < Struct.new(
  :directory_id,
  :remote_domain_name,
  :trust_password,
  :trust_direction,
  :trust_type,
  :conditional_forwarder_ip_addrs)
  include Aws::Structure
end

#remote_domain_nameString

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

Returns:

  • (String)


715
716
717
718
719
720
721
722
723
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 715

class CreateTrustRequest < Struct.new(
  :directory_id,
  :remote_domain_name,
  :trust_password,
  :trust_direction,
  :trust_type,
  :conditional_forwarder_ip_addrs)
  include Aws::Structure
end

#trust_directionString

The direction of the trust relationship.

Returns:

  • (String)


715
716
717
718
719
720
721
722
723
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 715

class CreateTrustRequest < Struct.new(
  :directory_id,
  :remote_domain_name,
  :trust_password,
  :trust_direction,
  :trust_type,
  :conditional_forwarder_ip_addrs)
  include Aws::Structure
end

#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)


715
716
717
718
719
720
721
722
723
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 715

class CreateTrustRequest < Struct.new(
  :directory_id,
  :remote_domain_name,
  :trust_password,
  :trust_direction,
  :trust_type,
  :conditional_forwarder_ip_addrs)
  include Aws::Structure
end

#trust_typeString

The trust relationship type.

Returns:

  • (String)


715
716
717
718
719
720
721
722
723
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 715

class CreateTrustRequest < Struct.new(
  :directory_id,
  :remote_domain_name,
  :trust_password,
  :trust_direction,
  :trust_type,
  :conditional_forwarder_ip_addrs)
  include Aws::Structure
end