We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.directoryservice.getSimpleAd
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Resource Type definition for AWS::DirectoryService::SimpleAD
Using getSimpleAd
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 getSimpleAd(args: GetSimpleAdArgs, opts?: InvokeOptions): Promise<GetSimpleAdResult>
function getSimpleAdOutput(args: GetSimpleAdOutputArgs, opts?: InvokeOptions): Output<GetSimpleAdResult>def get_simple_ad(directory_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetSimpleAdResult
def get_simple_ad_output(directory_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetSimpleAdResult]func LookupSimpleAd(ctx *Context, args *LookupSimpleAdArgs, opts ...InvokeOption) (*LookupSimpleAdResult, error)
func LookupSimpleAdOutput(ctx *Context, args *LookupSimpleAdOutputArgs, opts ...InvokeOption) LookupSimpleAdResultOutput> Note: This function is named LookupSimpleAd in the Go SDK.
public static class GetSimpleAd 
{
    public static Task<GetSimpleAdResult> InvokeAsync(GetSimpleAdArgs args, InvokeOptions? opts = null)
    public static Output<GetSimpleAdResult> Invoke(GetSimpleAdInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSimpleAdResult> getSimpleAd(GetSimpleAdArgs args, InvokeOptions options)
public static Output<GetSimpleAdResult> getSimpleAd(GetSimpleAdArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:directoryservice:getSimpleAd
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DirectoryId string
- The unique identifier for a directory.
- DirectoryId string
- The unique identifier for a directory.
- directoryId String
- The unique identifier for a directory.
- directoryId string
- The unique identifier for a directory.
- directory_id str
- The unique identifier for a directory.
- directoryId String
- The unique identifier for a directory.
getSimpleAd Result
The following output properties are available:
- Alias string
- The alias for a directory.
- DirectoryId string
- The unique identifier for a directory.
- DnsIp List<string>Addresses 
- 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 Simple Active Directory in AWS.
- Alias string
- The alias for a directory.
- DirectoryId string
- The unique identifier for a directory.
- DnsIp []stringAddresses 
- 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 Simple Active Directory in AWS.
- alias String
- The alias for a directory.
- directoryId String
- The unique identifier for a directory.
- dnsIp List<String>Addresses 
- 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 Simple Active Directory in AWS.
- alias string
- The alias for a directory.
- directoryId string
- The unique identifier for a directory.
- dnsIp string[]Addresses 
- 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 Simple Active Directory in AWS.
- alias str
- The alias for a directory.
- directory_id str
- The unique identifier for a directory.
- dns_ip_ Sequence[str]addresses 
- 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 Simple Active Directory in AWS.
- alias String
- The alias for a directory.
- directoryId String
- The unique identifier for a directory.
- dnsIp List<String>Addresses 
- 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 Simple Active Directory in AWS.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi