Skip to main content

usage_plan

Gets an individual usage_plan resource

Overview

Nameusage_plan
TypeResource
Descriptionusage_plan
Idawscc.apigateway.usage_plan

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.
tagsarrayThe collection of tags. Each tag element is associated with a given resource.
throttleobjectA map containing method level throttling information for API stage in a usage plan.
usage_plan_namestringThe name of a usage plan.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id,
api_stages,
description,
quota,
tags,
throttle,
usage_plan_name
FROM awscc.apigateway.usage_plan
WHERE data__Identifier = '<Id>';

Permissions

To operate on the usage_plan resource, the following permissions are required:

Read

apigateway:GET

Update

apigateway:GET,
apigateway:DELETE,
apigateway:PATCH,
apigateway:PUT

Delete

apigateway:DELETE,
apigateway:GET,
apigateway:PATCH