Skip to main content

usage_plan_tags

Expands all tag keys and values for usage_plans in a region

Overview

Nameusage_plan_tags
TypeResource
DescriptionThe AWS::ApiGateway::UsagePlan resource creates a usage plan for deployed APIs. A usage plan sets a target for the throttling and quota limits on individual client API keys. For more information, see [Creating and Using API Usage Plans in Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) in the *API Gateway Developer Guide*.
In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests.
Idaws.apigateway.usage_plan_tags

Fields

NameDatatypeDescription
idstring
api_stagesarrayThe associated API stages of a usage plan.
descriptionstringThe description of a usage plan.
quotaobjectThe target maximum number of permitted requests per a given unit time interval.
throttleobjectA map containing method level throttling information for API stage in a usage plan.
usage_plan_namestringThe name of a usage plan.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all usage_plans in a region.

SELECT
region,
id,
api_stages,
description,
quota,
throttle,
usage_plan_name,
tag_key,
tag_value
FROM aws.apigateway.usage_plan_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the usage_plan_tags resource, see usage_plans