Paws::DS::ConnectDirectory - Arguments for method ConnectDirectory on Paws::DS


This class represents the parameters used for calling the method ConnectDirectory on the AWS Directory Service service. Use the attributes of this class as arguments to method ConnectDirectory.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ConnectDirectory.


    my $ds = Paws->service('DS');
    my $ConnectDirectoryResult = $ds->ConnectDirectory(
      ConnectSettings => {
        CustomerDnsIps   => [ 'MyIpAddr', ... ],
        CustomerUserName => 'MyUserName',            # min: 1
        SubnetIds        => [ 'MySubnetId', ... ],
        VpcId            => 'MyVpcId',

      Name        => 'MyDirectoryName',
      Password    => 'MyConnectPassword',
      Size        => 'Small',
      Description => 'MyDescription',                # OPTIONAL
      ShortName   => 'MyDirectoryShortName',         # OPTIONAL
      Tags        => [
          Key   => 'MyTagKey',                       # min: 1, max: 128
          Value => 'MyTagValue',                     # max: 256

      ],                                             # OPTIONAL

    # Results:
    my $DirectoryId = $ConnectDirectoryResult->DirectoryId;

    # Returns a L<Paws::DS::ConnectDirectoryResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED ConnectSettings => Paws::DS::DirectoryConnectSettings

A DirectoryConnectSettings object that contains additional information for the operation.

Description => Str

A textual description for the directory.

REQUIRED Name => Str

The fully qualified name of the on-premises directory, such as

REQUIRED Password => Str

The password for the on-premises user account.

ShortName => Str

The NetBIOS name of the on-premises directory, such as CORP.

REQUIRED Size => Str

The size of the directory.

Valid values are: "Small", "Large"

Tags => ArrayRef[Paws::DS::Tag]

The tags to be assigned to AD Connector.


This class forms part of Paws, documenting arguments for method ConnectDirectory in Paws::DS


The source code is located here:

Please report bugs to: