AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Container for the parameters to the CreateAlias operation. Creates 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.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DirectoryService.AmazonDirectoryServiceRequest
      Amazon.DirectoryService.Model.CreateAliasRequest

Namespace: Amazon.DirectoryService.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class CreateAliasRequest : AmazonDirectoryServiceRequest
         IRequestEvents

The CreateAliasRequest type exposes the following members

Constructors

NameDescription
Public Method CreateAliasRequest()

Properties

NameTypeDescription
Public Property Alias System.String Gets and sets the property Alias.

The requested alias.

The alias must be unique amongst all aliases in AWS. This operation throws an EntityAlreadyExistsException error if the alias already exists.

Public Property DirectoryId System.String Gets and sets the property DirectoryId.

The identifier of the directory for which to create the alias.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5