Paws::AppStream::CreateDirectoryConfig - Arguments for method CreateDirectoryConfig on Paws::AppStream


This class represents the parameters used for calling the method CreateDirectoryConfig on the Amazon AppStream service. Use the attributes of this class as arguments to method CreateDirectoryConfig.

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


    my $appstream2 = Paws->service('AppStream');
    my $CreateDirectoryConfigResult = $appstream2->CreateDirectoryConfig(
      DirectoryName                        => 'MyDirectoryName',
      OrganizationalUnitDistinguishedNames => [
        'MyOrganizationalUnitDistinguishedName', ...    # max: 2000
      ServiceAccountCredentials => {
        AccountName     => 'MyAccountName',             # min: 1,
        AccountPassword => 'MyAccountPassword',         # min: 1, max: 127



    # Results:
    my $DirectoryConfig = $CreateDirectoryConfigResult->DirectoryConfig;

    # Returns a L<Paws::AppStream::CreateDirectoryConfigResult> 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 DirectoryName => Str

The fully qualified name of the directory (for example,

REQUIRED OrganizationalUnitDistinguishedNames => ArrayRef[Str|Undef]

The distinguished names of the organizational units for computer accounts.

REQUIRED ServiceAccountCredentials => Paws::AppStream::ServiceAccountCredentials

The credentials for the service account used by the streaming instance to connect to the directory.


This class forms part of Paws, documenting arguments for method CreateDirectoryConfig in Paws::AppStream


The source code is located here:

Please report bugs to: