# APIKeyReference

A reference to a APIKey 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_location as interfaces_location } from 'aws-cdk-lib/interfaces';
const aPIKeyReference: interfaces_location.APIKeyReference = {
  apiKeyArn: 'apiKeyArn',
  keyName: 'keyName',
};
```

## Properties

- `apiKeyArn`: string (required) — The ARN of the APIKey resource.

- `keyName`: string (required) — The KeyName of the APIKey resource.
