| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DirectoryService.CreateTrust
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.
- createTrust :: Text -> Text -> Text -> TrustDirection -> CreateTrust
- data CreateTrust
- ctConditionalForwarderIPAddrs :: Lens' CreateTrust [Text]
- ctTrustType :: Lens' CreateTrust (Maybe TrustType)
- ctDirectoryId :: Lens' CreateTrust Text
- ctRemoteDomainName :: Lens' CreateTrust Text
- ctTrustPassword :: Lens' CreateTrust Text
- ctTrustDirection :: Lens' CreateTrust TrustDirection
- createTrustResponse :: Int -> CreateTrustResponse
- data CreateTrustResponse
- ctrsTrustId :: Lens' CreateTrustResponse (Maybe Text)
- ctrsResponseStatus :: Lens' CreateTrustResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> TrustDirection | |
| -> CreateTrust |
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:
ctConditionalForwarderIPAddrs- The IP addresses of the remote DNS server associated with RemoteDomainName.ctTrustType- The trust relationship type.ctDirectoryId- The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.ctRemoteDomainName- The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.ctTrustPassword- The trust password. The must be the same password that was used when creating the trust relationship on the external domain.ctTrustDirection- The direction of the trust relationship.
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.
Instances
Request Lenses
ctConditionalForwarderIPAddrs :: Lens' CreateTrust [Text] Source #
The IP addresses of the remote DNS server associated with RemoteDomainName.
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
Arguments
| :: Int | |
| -> CreateTrustResponse |
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:
ctrsTrustId- A unique identifier for the trust relationship that was created.ctrsResponseStatus- -- | The response status code.
data CreateTrustResponse Source #
The result of a CreateTrust request.
See: createTrustResponse smart constructor.
Response Lenses
ctrsTrustId :: Lens' CreateTrustResponse (Maybe Text) Source #
A unique identifier for the trust relationship that was created.
ctrsResponseStatus :: Lens' CreateTrustResponse Int Source #
- - | The response status code.