usage_plan_tags
Expands all tag keys and values for usage_plans
in a region
Overview
Name | usage_plan_tags |
Type | Resource |
Description | The 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. |
Id | aws.apigateway.usage_plan_tags |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
api_stages | array | The associated API stages of a usage plan. |
description | string | The description of a usage plan. |
quota | object | The target maximum number of permitted requests per a given unit time interval. |
throttle | object | A map containing method level throttling information for API stage in a usage plan. |
usage_plan_name | string | The name of a usage plan. |
tag_key | string | Tag key. |
tag_value | string | Tag value. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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