# DomainJoinInfoProperty

Struct · External

The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const domainJoinInfoProperty: appstream.CfnImageBuilder.DomainJoinInfoProperty = {
  directoryName: 'directoryName',
  organizationalUnitDistinguishedName: 'organizationalUnitDistinguishedName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appstream as appstream

domain_join_info_property = appstream.CfnImageBuilder.DomainJoinInfoProperty(
    directory_name="directoryName",
    organizational_unit_distinguished_name="organizationalUnitDistinguishedName"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appstream.*;

DomainJoinInfoProperty domainJoinInfoProperty = DomainJoinInfoProperty.builder()
        .directoryName("directoryName")
        .organizationalUnitDistinguishedName("organizationalUnitDistinguishedName")
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;

var domainJoinInfoProperty = new DomainJoinInfoProperty {
    DirectoryName = "directoryName",
    OrganizationalUnitDistinguishedName = "organizationalUnitDistinguishedName"
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

domainJoinInfoProperty := &DomainJoinInfoProperty{
	DirectoryName: jsii.String("directoryName"),
	OrganizationalUnitDistinguishedName: jsii.String("organizationalUnitDistinguishedName"),
}
```

## Properties

- `directoryName`: string — The fully qualified name of the directory (for example, corp.example.com).

- `organizationalUnitDistinguishedName`: string — The distinguished name of the organizational unit for computer accounts.
