Class CfnMicrosoftAD

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:15.139Z") @Stability(Stable) public class CfnMicrosoftAD extends CfnResource implements IInspectable
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.

For more information, see AWS Managed Microsoft AD in the AWS Directory Service Admin Guide .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.directoryservice.*;
 CfnMicrosoftAD cfnMicrosoftAD = CfnMicrosoftAD.Builder.create(this, "MyCfnMicrosoftAD")
         .name("name")
         .password("password")
         .vpcSettings(VpcSettingsProperty.builder()
                 .subnetIds(List.of("subnetIds"))
                 .vpcId("vpcId")
                 .build())
         // the properties below are optional
         .createAlias(false)
         .edition("edition")
         .enableSso(false)
         .shortName("shortName")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnMicrosoftAD

      protected CfnMicrosoftAD(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnMicrosoftAD

      protected CfnMicrosoftAD(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnMicrosoftAD

      @Stability(Stable) public CfnMicrosoftAD(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMicrosoftADProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrAlias

      @Stability(Stable) @NotNull public String getAttrAlias()
      The alias for a directory.

      For example: d-12373a053a or alias4-mydirectory-12345abcgmzsk (if you have the CreateAlias property set to true).

    • getAttrDnsIpAddresses

      @Stability(Stable) @NotNull public List<String> getAttrDnsIpAddresses()
      The IP addresses of the DNS servers for the directory, such as [ "192.0.2.1", "192.0.2.2" ] .
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getName

      @Stability(Stable) @NotNull public String getName()
      The 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.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The 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.
    • getPassword

      @Stability(Stable) @NotNull public String getPassword()
      The password for the default administrative user named Admin .
    • setPassword

      @Stability(Stable) public void setPassword(@NotNull String value)
      The password for the default administrative user named Admin .
    • getVpcSettings

      @Stability(Stable) @NotNull public Object getVpcSettings()
      Specifies the VPC settings of the Microsoft AD directory server in AWS .
    • setVpcSettings

      @Stability(Stable) public void setVpcSettings(@NotNull IResolvable value)
      Specifies the VPC settings of the Microsoft AD directory server in AWS .
    • setVpcSettings

      @Stability(Stable) public void setVpcSettings(@NotNull CfnMicrosoftAD.VpcSettingsProperty value)
      Specifies the VPC settings of the Microsoft AD directory server in AWS .
    • getCreateAlias

      @Stability(Stable) @Nullable public Object getCreateAlias()
      Specifies an alias for a directory and assigns the alias to the directory.
    • setCreateAlias

      @Stability(Stable) public void setCreateAlias(@Nullable Boolean value)
      Specifies an alias for a directory and assigns the alias to the directory.
    • setCreateAlias

      @Stability(Stable) public void setCreateAlias(@Nullable IResolvable value)
      Specifies an alias for a directory and assigns the alias to the directory.
    • getEdition

      @Stability(Stable) @Nullable public String getEdition()
      AWS Managed Microsoft AD is available in two editions: Standard and Enterprise .
    • setEdition

      @Stability(Stable) public void setEdition(@Nullable String value)
      AWS Managed Microsoft AD is available in two editions: Standard and Enterprise .
    • getEnableSso

      @Stability(Stable) @Nullable public Object getEnableSso()
      Whether to enable single sign-on for a Microsoft Active Directory in AWS .
    • setEnableSso

      @Stability(Stable) public void setEnableSso(@Nullable Boolean value)
      Whether to enable single sign-on for a Microsoft Active Directory in AWS .
    • setEnableSso

      @Stability(Stable) public void setEnableSso(@Nullable IResolvable value)
      Whether to enable single sign-on for a Microsoft Active Directory in AWS .
    • getShortName

      @Stability(Stable) @Nullable public String getShortName()
      The NetBIOS name for your domain, such as CORP .
    • setShortName

      @Stability(Stable) public void setShortName(@Nullable String value)
      The NetBIOS name for your domain, such as CORP .