# KeyReference

A reference to a Key resource.

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## 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 interfaces_kms } from 'aws-cdk-lib/interfaces';
const keyReference: interfaces_kms.KeyReference = {
  keyArn: 'keyArn',
  keyId: 'keyId',
};
```

## Properties

- `keyArn`: string (required) — The ARN of the Key resource.

- `keyId`: string (required) — The KeyId of the Key resource.
