interface AliasAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.KMS.AliasAttributes |
Java | software.amazon.awscdk.services.kms.AliasAttributes |
Python | aws_cdk.aws_kms.AliasAttributes |
TypeScript (source) | @aws-cdk/aws-kms » AliasAttributes |
Properties of a reference to an existing KMS Alias.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kms from '@aws-cdk/aws-kms';
declare const key: kms.Key;
const aliasAttributes: kms.AliasAttributes = {
aliasName: 'aliasName',
aliasTargetKey: key,
};
Properties
| Name | Type | Description |
|---|---|---|
| alias | string | Specifies the alias name. |
| alias | IKey | The customer master key (CMK) to which the Alias refers. |
aliasName
Type:
string
Specifies the alias name.
This value must begin with alias/ followed by a name (i.e. alias/ExampleAlias)
aliasTargetKey
Type:
IKey
The customer master key (CMK) to which the Alias refers.

.NET
Java
Python
TypeScript (