# AWS Directory Service Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as directoryservice from 'aws-cdk-lib/aws-directoryservice';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for DirectoryService construct libraries](https://constructs.dev/search?q=directoryservice)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::DirectoryService resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_DirectoryService.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::DirectoryService](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_DirectoryService.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnMicrosoftAD`](/v2/docs/aws-cdk-lib.aws_directoryservice.CfnMicrosoftAD) | Construct (L1) | The `AWS::DirectoryService::MicrosoftAD` resource specifies a Microsoft Active Directory in AWS so that your directory users and groups can access the AWS Management Console and AWS applications using their existing credentials. |
| [`CfnSimpleAD`](/v2/docs/aws-cdk-lib.aws_directoryservice.CfnSimpleAD) | Construct (L1) | The `AWS::DirectoryService::SimpleAD` resource specifies an Directory Service Simple Active Directory ( Simple AD ) in AWS so that your directory users and groups can access the AWS Management Console and AWS applications using their existing credentials. |
| [`CfnMicrosoftAD.VpcSettingsProperty`](/v2/docs/aws-cdk-lib.aws_directoryservice.CfnMicrosoftAD.VpcSettingsProperty) | Struct | Contains VPC information for the [CreateDirectory](https://docs.aws.amazon.com/directoryservice/latest/devguide/API_CreateDirectory.html) or [CreateMicrosoftAD](https://docs.aws.amazon.com/directoryservice/latest/devguide/API_CreateMicrosoftAD.html) operation. |
| [`CfnMicrosoftADProps`](/v2/docs/aws-cdk-lib.aws_directoryservice.CfnMicrosoftADProps) | Struct | Properties for defining a `CfnMicrosoftAD`. |
| [`CfnSimpleAD.VpcSettingsProperty`](/v2/docs/aws-cdk-lib.aws_directoryservice.CfnSimpleAD.VpcSettingsProperty) | Struct | Contains VPC information for the [CreateDirectory](https://docs.aws.amazon.com/directoryservice/latest/devguide/API_CreateDirectory.html) or [CreateMicrosoftAD](https://docs.aws.amazon.com/directoryservice/latest/devguide/API_CreateMicrosoftAD.html) operation. |
| [`CfnSimpleADProps`](/v2/docs/aws-cdk-lib.aws_directoryservice.CfnSimpleADProps) | Struct | Properties for defining a `CfnSimpleAD`. |
