Skip to main content

api_key_tags

Expands all tag keys and values for api_keys in a region

Overview

Nameapi_key_tags
TypeResource
DescriptionThe AWS::ApiGateway::ApiKey resource creates a unique key that you can distribute to clients who are executing API Gateway Method resources that require an API key. To specify which API key clients must use, map the API key with the RestApi and Stage resources that include the methods that require a key.
Idaws.apigateway.api_key_tags

Fields

NameDatatypeDescription
api_key_idstring
customer_idstring
descriptionstring
enabledboolean
generate_distinct_idboolean
namestringA 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.
stage_keysarray
valuestring
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all api_keys in a region.

SELECT
region,
api_key_id,
customer_id,
description,
enabled,
generate_distinct_id,
name,
stage_keys,
value,
tag_key,
tag_value
FROM aws.apigateway.api_key_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the api_key_tags resource, see api_keys