# AliasAttributes

Properties of a reference to an existing KMS Alias.

- Source: [`aws-kms/lib/alias.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-kms/lib/alias.ts#L191)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kms as kms } from 'aws-cdk-lib';

declare const key: kms.Key;
const aliasAttributes: kms.AliasAttributes = {
  aliasName: 'aliasName',
  aliasTargetKey: key,
};
```

## Properties

- `aliasName`: string (required) — Specifies the alias name.

  This value must begin with alias/ followed by a name (i.e. alias/ExampleAlias)

- `aliasTargetKey`: [IKey](/cdk/api/v2/docs/aws-cdk-lib.aws_kms.IKey.html) (required) — The customer master key (CMK) to which the Alias refers.
