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.
The alias and the key it is mapped to must be in the same AWS account and the same region.
To map an alias to a different key, call UpdateAlias.
Namespace: Amazon.KeyManagementService.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateAliasRequest : AmazonKeyManagementServiceRequest IRequestEvents
The CreateAliasRequest type exposes the following members
Name | Description | |
---|---|---|
CreateAliasRequest() |
Name | Type | Description | |
---|---|---|---|
AliasName | System.String |
Gets and sets the property AliasName.
String that contains the display name. The name must start with the word "alias" followed by a forward slash (alias/). Aliases that begin with "alias/AWS" are reserved. |
|
TargetKeyId | System.String |
Gets and sets the property TargetKeyId.
An identifier of the key for which you are creating the alias. This value cannot be another alias but can be a globally unique identifier or a fully specified ARN to a key.
|
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8