1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. directoryservice
  6. getMicrosoftAd

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource Type definition for AWS::DirectoryService::MicrosoftAD

    Using getMicrosoftAd

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMicrosoftAd(args: GetMicrosoftAdArgs, opts?: InvokeOptions): Promise<GetMicrosoftAdResult>
    function getMicrosoftAdOutput(args: GetMicrosoftAdOutputArgs, opts?: InvokeOutputOptions): Output<GetMicrosoftAdResult>
    def get_microsoft_ad(directory_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetMicrosoftAdResult
    def get_microsoft_ad_output(directory_id: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetMicrosoftAdResult]
    func LookupMicrosoftAd(ctx *Context, args *LookupMicrosoftAdArgs, opts ...InvokeOption) (*LookupMicrosoftAdResult, error)
    func LookupMicrosoftAdOutput(ctx *Context, args *LookupMicrosoftAdOutputArgs, opts ...InvokeOption) LookupMicrosoftAdResultOutput

    > Note: This function is named LookupMicrosoftAd in the Go SDK.

    public static class GetMicrosoftAd 
    {
        public static Task<GetMicrosoftAdResult> InvokeAsync(GetMicrosoftAdArgs args, InvokeOptions? opts = null)
        public static Output<GetMicrosoftAdResult> Invoke(GetMicrosoftAdInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMicrosoftAdResult> Invoke(GetMicrosoftAdInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMicrosoftAdResult> getMicrosoftAd(GetMicrosoftAdArgs args, InvokeOptions options)
    public static Output<GetMicrosoftAdResult> getMicrosoftAd(GetMicrosoftAdArgs args, InvokeOptions options)
    public static Output<GetMicrosoftAdResult> getMicrosoftAd(GetMicrosoftAdArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:directoryservice:getMicrosoftAd
      arguments:
        # arguments dictionary
    data "aws-native_directoryservice_get_microsoft_ad" "name" {
        # arguments
    }

    The following arguments are supported:

    DirectoryId string
    Unique identifier for the Microsoft Active Directory
    DirectoryId string
    Unique identifier for the Microsoft Active Directory
    directory_id string
    Unique identifier for the Microsoft Active Directory
    directoryId String
    Unique identifier for the Microsoft Active Directory
    directoryId string
    Unique identifier for the Microsoft Active Directory
    directory_id str
    Unique identifier for the Microsoft Active Directory
    directoryId String
    Unique identifier for the Microsoft Active Directory

    getMicrosoftAd Result

    The following output properties are available:

    Alias string
    The alias for a directory
    DirectoryId string
    Unique identifier for the Microsoft Active Directory
    DnsIpAddresses List<string>
    The IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ].
    EnableSso bool
    Whether 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, AWS CloudFormation disables single sign-on by default.
    Alias string
    The alias for a directory
    DirectoryId string
    Unique identifier for the Microsoft Active Directory
    DnsIpAddresses []string
    The IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ].
    EnableSso bool
    Whether 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, AWS CloudFormation disables single sign-on by default.
    alias string
    The alias for a directory
    directory_id string
    Unique identifier for the Microsoft Active Directory
    dns_ip_addresses list(string)
    The IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ].
    enable_sso bool
    Whether 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, AWS CloudFormation disables single sign-on by default.
    alias String
    The alias for a directory
    directoryId String
    Unique identifier for the Microsoft Active Directory
    dnsIpAddresses List<String>
    The IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ].
    enableSso Boolean
    Whether 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, AWS CloudFormation disables single sign-on by default.
    alias string
    The alias for a directory
    directoryId string
    Unique identifier for the Microsoft Active Directory
    dnsIpAddresses string[]
    The IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ].
    enableSso boolean
    Whether 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, AWS CloudFormation disables single sign-on by default.
    alias str
    The alias for a directory
    directory_id str
    Unique identifier for the Microsoft Active Directory
    dns_ip_addresses Sequence[str]
    The IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ].
    enable_sso bool
    Whether 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, AWS CloudFormation disables single sign-on by default.
    alias String
    The alias for a directory
    directoryId String
    Unique identifier for the Microsoft Active Directory
    dnsIpAddresses List<String>
    The IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ].
    enableSso Boolean
    Whether 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, AWS CloudFormation disables single sign-on by default.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial