AWS::DirectoryService::MicrosoftADThe `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. For more information, see [AWS Managed Microsoft AD](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html) in the *Directory Service Admin Guide* .
import { CfnMicrosoftAD } from 'aws-cdk-lib/aws-directoryservice';Or use the module namespace:
import * as directoryservice from 'aws-cdk-lib/aws-directoryservice';
// directoryservice.CfnMicrosoftADConfiguration passed to the constructor as CfnMicrosoftADProps.
nameRequiredstringThe fully qualified domain name for the AWS Managed Microsoft AD directory, such as `corp.example.com` . This name will resolve inside your VPC only. It does not need to be publicly resolvable.
passwordRequiredstringThe password for the default administrative user named `Admin` . If you need to change the password for the administrator account, see the [ResetUserPassword](https://docs.aws.amazon.com/directoryservice/latest/devguide/API_ResetUserPassword.html) API call in the *Directory Service API Reference* .
vpcSettingsRequiredIResolvable | VpcSettingsPropertySpecifies the VPC settings of the Microsoft AD directory server in AWS .
createAliasOptionalboolean | IResolvableSpecifies an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as `http://<alias>.awsapps.com` . By default, CloudFormation does not create an alias. > After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
editionOptionalstringAWS Managed Microsoft AD is available in two editions: `Standard` and `Enterprise` . `Enterprise` is the default.
enableSsoOptionalboolean | IResolvableWhether to enable single sign-on for a Microsoft Active Directory in AWS . Single sign-on allows users in your directory to access certain AWS services from a computer joined to the directory without having to enter their credentials separately. If you don't specify a value, CloudFormation disables single sign-on by default.
shortNameOptionalstringThe NetBIOS name for your domain, such as `CORP` . If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example, `CORP` for the directory DNS `corp.example.com` .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-directoryserviceAWS::DirectoryService::MicrosoftAD