class Alias (construct)
Defines a display name for a customer master key (CMK) in AWS Key Management Service (AWS KMS).
Using an alias to refer to a key can help you simplify key management. For example, when rotating keys, you can just update the alias mapping instead of tracking and changing key IDs. For more information, see Working with Aliases in the AWS Key Management Service Developer Guide.
You can also add an alias for a key by calling
new Alias(scope: Construct, id: string, props: AliasProps)
|alias||The name of the alias.|
|target||The ID of the key for which you are creating the alias.|
|removal||Policy to apply when the alias is removed from this stack.|
The name of the alias.
The name must start with alias followed by a forward slash, such as alias/. You can't specify aliases that begin with alias/AWS. These aliases are reserved.