AWS::Location::APIKeyDefinition of AWS::Location::APIKey Resource Type
8 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
KeyName | string | RequiredCreate-only |
Restrictions | ApiKeyRestrictions | Required |
Description | string | |
ExpireTime | string | |
ForceDelete | boolean | Write-only |
ForceUpdate | boolean | Write-only |
NoExpiry | boolean | Write-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
CreateTime | string | - |
KeyArn | string | - |
UpdateTime | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Location::APIKey
Resources:
MyResource:
Type: AWS::Location::APIKey
Properties:
KeyName: "my-keyname"
Restrictions: "value"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
geo:CreateKeygeo:DescribeKeygeo:TagResourcegeo:UntagResourcegeo:GetMapTilegeo:GetMapStyleDescriptorgeo:GetMapSpritesgeo:GetMapGlyphsgeo:DeleteKeygeo:DescribeKeygeo:ListKeysgeo:DescribeKeygeo:CreateKeygeo:DescribeKeygeo:TagResourcegeo:UntagResourcegeo:GetMapTilegeo:GetMapStyleDescriptorgeo:GetMapSpritesgeo:GetMapGlyphsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterKeyNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
KeyName