---
type: resource-type
title: APIKey
description: aws resource type AWS::Location::APIKey
name: APIKey
lexicon: aws
resource_type: AWS::Location::APIKey
---
`AWS::Location::APIKey`, a resource type of the aws lexicon.

## Properties

- `KeyName` (`string`, required)
- `Restrictions` (`APIKey_ApiKeyRestrictions`, required)
- `Arn` (`string`, optional)
- `CreateTime` (`string`, optional)
- `Description` (`string`, optional)
- `ExpireTime` (`string`, optional)
- `ForceDelete` (`boolean`, optional)
- `ForceUpdate` (`boolean`, optional)
- `KeyArn` (`string`, optional)
- `NoExpiry` (`boolean`, optional)
- `Tags` (`APIKey_Tag[]`, optional): An array of key-value pairs to apply to this resource.
- `UpdateTime` (`string`, optional)

## Attributes

- `Arn`
- `CreateTime`
- `KeyArn`
- `UpdateTime`
