amazonka-ds-1.3.7: Amazon Directory Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DirectoryService.CreateTrust

Contents

Description

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.

See: AWS API Reference for CreateTrust.

Synopsis

Creating a Request

createTrust Source

Creates a value of CreateTrust with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateTrust Source

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.

See: createTrust smart constructor.

Request Lenses

ctTrustType :: Lens' CreateTrust (Maybe TrustType) Source

The trust relationship type.

ctDirectoryId :: Lens' CreateTrust Text Source

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

ctRemoteDomainName :: Lens' CreateTrust Text Source

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

ctTrustPassword :: Lens' CreateTrust Text Source

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

ctTrustDirection :: Lens' CreateTrust TrustDirection Source

The direction of the trust relationship.

Destructuring the Response

createTrustResponse Source

Creates a value of CreateTrustResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ctrsTrustId :: Lens' CreateTrustResponse (Maybe Text) Source

A unique identifier for the trust relationship that was created.