AWS SDK Version 3 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.

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://.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.DirectoryService.dll
Version: 3.x.y.z

Syntax

C#
public class CreateAliasRequest : AmazonDirectoryServiceRequest
         IAmazonWebServiceRequest

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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms