---
type: resource-type
title: ApigwApiKey
description: aws resource type AWS::ApiGateway::ApiKey
name: ApigwApiKey
lexicon: aws
resource_type: AWS::ApiGateway::ApiKey
---
`AWS::ApiGateway::ApiKey`, a resource type of the aws lexicon.

## Properties

- `APIKeyId` (`string`, optional)
- `CustomerId` (`string`, optional)
- `Description` (`string`, optional)
- `Enabled` (`boolean`, optional)
- `GenerateDistinctId` (`boolean`, optional)
- `Name` (`string`, optional): A name for the API key. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the API key name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html). If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- `StageKeys` (`ApigwApiKey_StageKey[]`, optional)
- `Tags` (`ApigwApiKey_Tag[]`, optional)
- `Value` (`string`, optional)

## Attributes

- `APIKeyId`
