Interface CfnSimpleADProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSimpleADProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.275Z") @Stability(Stable) public interface CfnSimpleADProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnSimpleAD.

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.*;
 CfnSimpleADProps cfnSimpleADProps = CfnSimpleADProps.builder()
         .name("name")
         .size("size")
         .vpcSettings(VpcSettingsProperty.builder()
                 .subnetIds(List.of("subnetIds"))
                 .vpcId("vpcId")
                 .build())
         // the properties below are optional
         .createAlias(false)
         .description("description")
         .enableSso(false)
         .password("password")
         .shortName("shortName")
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The fully qualified name for the directory, such as corp.example.com .
    • getSize

      @Stability(Stable) @NotNull String getSize()
      The size of the directory.

      For valid values, see CreateDirectory in the AWS Directory Service API Reference .

    • getVpcSettings

      @Stability(Stable) @NotNull Object getVpcSettings()
      A DirectoryVpcSettings object that contains additional information for the operation.
    • getCreateAlias

      @Stability(Stable) @Nullable default Object getCreateAlias()
      If set to true , specifies 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, this property is set to false .

      After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description for the directory.
    • getEnableSso

      @Stability(Stable) @Nullable default Object getEnableSso()
      Whether to enable single sign-on for a directory.

      If you don't specify a value, AWS CloudFormation disables single sign-on by default.

    • getPassword

      @Stability(Stable) @Nullable default String getPassword()
      The password for the directory administrator.

      The directory creation process creates a directory administrator account with the user name Administrator and this password.

      If you need to change the password for the administrator account, see the ResetUserPassword API call in the AWS Directory Service API Reference .

    • getShortName

      @Stability(Stable) @Nullable default String getShortName()
      The NetBIOS name of the directory, such as CORP .
    • builder

      @Stability(Stable) static CfnSimpleADProps.Builder builder()
      Returns:
      a CfnSimpleADProps.Builder of CfnSimpleADProps