# CfnAliasProps

Properties for defining a `CfnAlias`.

Extends: CfnAliasProps
Used as props by: CfnAlias

- Source: Generated code
- Type last changed: v2.140.0 · 2 May 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_paymentcryptography as paymentcryptography } from 'aws-cdk-lib';
const cfnAliasProps: paymentcryptography.CfnAliasProps = {
  aliasName: 'aliasName',

  // the properties below are optional
  keyArn: 'keyArn',
};
```

## Properties

- `aliasName`: string (required) — A friendly name that you can use to refer to a key. The value must begin with `alias/` .

  > Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.

- `keyArn`: string — The `KeyARN` of the key associated with the alias.
