# CfnUsagePlanKeyProps

Properties for defining a `CfnUsagePlanKey`.

Extends: CfnUsagePlanKeyProps
Used as props by: CfnUsagePlanKey

- Source: Generated code
- Type last changed: v2.227.0 · 21 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_apigateway as apigateway } from 'aws-cdk-lib';
const cfnUsagePlanKeyProps: apigateway.CfnUsagePlanKeyProps = {
  keyId: 'keyId',
  keyType: 'keyType',
  usagePlanId: 'usagePlanId',
};
```

## Properties

- `keyId`: string | [IApiKeyRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_apigateway.IApiKeyRef.html) (required) — The Id of the UsagePlanKey resource.

- `keyType`: string (required) — The type of a UsagePlanKey resource for a plan customer.

- `usagePlanId`: string | [IUsagePlanRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_apigateway.IUsagePlanRef.html) (required) — The Id of the UsagePlan resource representing the usage plan containing the UsagePlanKey resource representing a plan customer.
