Skip to content

Create Hybrid Ad

directoryservice_create_hybrid_ad R Documentation

Creates a hybrid directory that connects your self-managed Active Directory (AD) infrastructure and Amazon Web Services

Description

Creates a hybrid directory that connects your self-managed Active Directory (AD) infrastructure and Amazon Web Services.

You must have a successful directory assessment using start_ad_assessment to validate your environment compatibility before you use this operation.

Updates are applied asynchronously. Use describe_directories to monitor the progress of directory creation.

Usage

directoryservice_create_hybrid_ad(SecretArn, AssessmentId, Tags)

Arguments

SecretArn

[required] The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials for the service account used to join hybrid domain controllers to your self-managed AD domain. This secret is used once and not stored.

The secret must contain key-value pairs with keys matching customerAdAdminDomainUsername and customerAdAdminDomainPassword. For example: ⁠{"customerAdAdminDomainUsername":"carlos_salazar","customerAdAdminDomainPassword":"ExamplePassword123!"}⁠.

AssessmentId

[required] The unique identifier of the successful directory assessment that validates your self-managed AD environment. You must have a successful directory assessment before you create a hybrid directory.

Tags

The tags to be assigned to the directory. Each tag consists of a key and value pair. You can specify multiple tags as a list.

Value

A list with the following syntax:

list(
  DirectoryId = "string"
)

Request syntax

svc$create_hybrid_ad(
  SecretArn = "string",
  AssessmentId = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)