published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi
Provides an API Gateway Usage Plan.
Create UsagePlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UsagePlan(name: string, args?: UsagePlanArgs, opts?: CustomResourceOptions);@overload
def UsagePlan(resource_name: str,
args: Optional[UsagePlanArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def UsagePlan(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_stages: Optional[Sequence[UsagePlanApiStageArgs]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
product_code: Optional[str] = None,
quota_settings: Optional[UsagePlanQuotaSettingsArgs] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
throttle_settings: Optional[UsagePlanThrottleSettingsArgs] = None)func NewUsagePlan(ctx *Context, name string, args *UsagePlanArgs, opts ...ResourceOption) (*UsagePlan, error)public UsagePlan(string name, UsagePlanArgs? args = null, CustomResourceOptions? opts = null)
public UsagePlan(String name, UsagePlanArgs args)
public UsagePlan(String name, UsagePlanArgs args, CustomResourceOptions options)
type: aws:apigateway:UsagePlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_apigateway_usage_plan" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args UsagePlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UsagePlanArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UsagePlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UsagePlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UsagePlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var usagePlanResource = new Aws.ApiGateway.UsagePlan("usagePlanResource", new()
{
ApiStages = new[]
{
new Aws.ApiGateway.Inputs.UsagePlanApiStageArgs
{
ApiId = "string",
Stage = "string",
Throttles = new[]
{
new Aws.ApiGateway.Inputs.UsagePlanApiStageThrottleArgs
{
Path = "string",
BurstLimit = 0,
RateLimit = 0,
},
},
},
},
Description = "string",
Name = "string",
ProductCode = "string",
QuotaSettings = new Aws.ApiGateway.Inputs.UsagePlanQuotaSettingsArgs
{
Limit = 0,
Period = "string",
Offset = 0,
},
Region = "string",
Tags =
{
{ "string", "string" },
},
ThrottleSettings = new Aws.ApiGateway.Inputs.UsagePlanThrottleSettingsArgs
{
BurstLimit = 0,
RateLimit = 0,
},
});
example, err := apigateway.NewUsagePlan(ctx, "usagePlanResource", &apigateway.UsagePlanArgs{
ApiStages: apigateway.UsagePlanApiStageArray{
&apigateway.UsagePlanApiStageArgs{
ApiId: pulumi.String("string"),
Stage: pulumi.String("string"),
Throttles: apigateway.UsagePlanApiStageThrottleArray{
&apigateway.UsagePlanApiStageThrottleArgs{
Path: pulumi.String("string"),
BurstLimit: pulumi.Int(0),
RateLimit: pulumi.Float64(0),
},
},
},
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
ProductCode: pulumi.String("string"),
QuotaSettings: &apigateway.UsagePlanQuotaSettingsArgs{
Limit: pulumi.Int(0),
Period: pulumi.String("string"),
Offset: pulumi.Int(0),
},
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ThrottleSettings: &apigateway.UsagePlanThrottleSettingsArgs{
BurstLimit: pulumi.Int(0),
RateLimit: pulumi.Float64(0),
},
})
resource "aws_apigateway_usage_plan" "usagePlanResource" {
lifecycle {
create_before_destroy = true
}
api_stages {
api_id = "string"
stage = "string"
throttles {
path = "string"
burst_limit = 0
rate_limit = 0
}
}
description = "string"
name = "string"
product_code = "string"
quota_settings = {
limit = 0
period = "string"
offset = 0
}
region = "string"
tags = {
"string" = "string"
}
throttle_settings = {
burst_limit = 0
rate_limit = 0
}
}
var usagePlanResource = new UsagePlan("usagePlanResource", UsagePlanArgs.builder()
.apiStages(UsagePlanApiStageArgs.builder()
.apiId("string")
.stage("string")
.throttles(UsagePlanApiStageThrottleArgs.builder()
.path("string")
.burstLimit(0)
.rateLimit(0.0)
.build())
.build())
.description("string")
.name("string")
.productCode("string")
.quotaSettings(UsagePlanQuotaSettingsArgs.builder()
.limit(0)
.period("string")
.offset(0)
.build())
.region("string")
.tags(Map.of("string", "string"))
.throttleSettings(UsagePlanThrottleSettingsArgs.builder()
.burstLimit(0)
.rateLimit(0.0)
.build())
.build());
usage_plan_resource = aws.apigateway.UsagePlan("usagePlanResource",
api_stages=[{
"api_id": "string",
"stage": "string",
"throttles": [{
"path": "string",
"burst_limit": 0,
"rate_limit": float(0),
}],
}],
description="string",
name="string",
product_code="string",
quota_settings={
"limit": 0,
"period": "string",
"offset": 0,
},
region="string",
tags={
"string": "string",
},
throttle_settings={
"burst_limit": 0,
"rate_limit": float(0),
})
const usagePlanResource = new aws.apigateway.UsagePlan("usagePlanResource", {
apiStages: [{
apiId: "string",
stage: "string",
throttles: [{
path: "string",
burstLimit: 0,
rateLimit: 0,
}],
}],
description: "string",
name: "string",
productCode: "string",
quotaSettings: {
limit: 0,
period: "string",
offset: 0,
},
region: "string",
tags: {
string: "string",
},
throttleSettings: {
burstLimit: 0,
rateLimit: 0,
},
});
type: aws:apigateway:UsagePlan
properties:
apiStages:
- apiId: string
stage: string
throttles:
- burstLimit: 0
path: string
rateLimit: 0
description: string
name: string
productCode: string
quotaSettings:
limit: 0
offset: 0
period: string
region: string
tags:
string: string
throttleSettings:
burstLimit: 0
rateLimit: 0
UsagePlan Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The UsagePlan resource accepts the following input properties:
- Api
Stages List<UsagePlan Api Stage> - Associated API stages of the usage plan. See
apiStagesBlock below. - Description string
- Description of a usage plan.
- Name string
- Name of the usage plan.
- Product
Code string - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- Quota
Settings UsagePlan Quota Settings - Quota settings of the usage plan. See
quotaSettingsBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Throttle
Settings UsagePlan Throttle Settings - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- Api
Stages []UsagePlan Api Stage Args - Associated API stages of the usage plan. See
apiStagesBlock below. - Description string
- Description of a usage plan.
- Name string
- Name of the usage plan.
- Product
Code string - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- Quota
Settings UsagePlan Quota Settings Args - Quota settings of the usage plan. See
quotaSettingsBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Throttle
Settings UsagePlan Throttle Settings Args - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api_
stages list(object) - Associated API stages of the usage plan. See
apiStagesBlock below. - description string
- Description of a usage plan.
- name string
- Name of the usage plan.
- product_
code string - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota_
settings object - Quota settings of the usage plan. See
quotaSettingsBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throttle_
settings object - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api
Stages List<UsagePlan Api Stage> - Associated API stages of the usage plan. See
apiStagesBlock below. - description String
- Description of a usage plan.
- name String
- Name of the usage plan.
- product
Code String - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota
Settings UsagePlan Quota Settings - Quota settings of the usage plan. See
quotaSettingsBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throttle
Settings UsagePlan Throttle Settings - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api
Stages UsagePlan Api Stage[] - Associated API stages of the usage plan. See
apiStagesBlock below. - description string
- Description of a usage plan.
- name string
- Name of the usage plan.
- product
Code string - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota
Settings UsagePlan Quota Settings - Quota settings of the usage plan. See
quotaSettingsBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throttle
Settings UsagePlan Throttle Settings - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api_
stages Sequence[UsagePlan Api Stage Args] - Associated API stages of the usage plan. See
apiStagesBlock below. - description str
- Description of a usage plan.
- name str
- Name of the usage plan.
- product_
code str - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota_
settings UsagePlan Quota Settings Args - Quota settings of the usage plan. See
quotaSettingsBlock below. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throttle_
settings UsagePlan Throttle Settings Args - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api
Stages List<Property Map> - Associated API stages of the usage plan. See
apiStagesBlock below. - description String
- Description of a usage plan.
- name String
- Name of the usage plan.
- product
Code String - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota
Settings Property Map - Quota settings of the usage plan. See
quotaSettingsBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throttle
Settings Property Map - Throttling limits of the usage plan. See
throttleSettingsBlock below.
Outputs
All input properties are implicitly available as output properties. Additionally, the UsagePlan resource produces the following output properties:
Look up Existing UsagePlan Resource
Get an existing UsagePlan resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: UsagePlanState, opts?: CustomResourceOptions): UsagePlan@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_stages: Optional[Sequence[UsagePlanApiStageArgs]] = None,
arn: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
product_code: Optional[str] = None,
quota_settings: Optional[UsagePlanQuotaSettingsArgs] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
throttle_settings: Optional[UsagePlanThrottleSettingsArgs] = None) -> UsagePlanfunc GetUsagePlan(ctx *Context, name string, id IDInput, state *UsagePlanState, opts ...ResourceOption) (*UsagePlan, error)public static UsagePlan Get(string name, Input<string> id, UsagePlanState? state, CustomResourceOptions? opts = null)public static UsagePlan get(String name, Output<String> id, UsagePlanState state, CustomResourceOptions options)resources: _: type: aws:apigateway:UsagePlan get: id: ${id}import {
to = aws_apigateway_usage_plan.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Stages List<UsagePlan Api Stage> - Associated API stages of the usage plan. See
apiStagesBlock below. - Arn string
- ARN of the usage plan.
- Description string
- Description of a usage plan.
- Name string
- Name of the usage plan.
- Product
Code string - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- Quota
Settings UsagePlan Quota Settings - Quota settings of the usage plan. See
quotaSettingsBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Throttle
Settings UsagePlan Throttle Settings - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- Api
Stages []UsagePlan Api Stage Args - Associated API stages of the usage plan. See
apiStagesBlock below. - Arn string
- ARN of the usage plan.
- Description string
- Description of a usage plan.
- Name string
- Name of the usage plan.
- Product
Code string - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- Quota
Settings UsagePlan Quota Settings Args - Quota settings of the usage plan. See
quotaSettingsBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Throttle
Settings UsagePlan Throttle Settings Args - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api_
stages list(object) - Associated API stages of the usage plan. See
apiStagesBlock below. - arn string
- ARN of the usage plan.
- description string
- Description of a usage plan.
- name string
- Name of the usage plan.
- product_
code string - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota_
settings object - Quota settings of the usage plan. See
quotaSettingsBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throttle_
settings object - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api
Stages List<UsagePlan Api Stage> - Associated API stages of the usage plan. See
apiStagesBlock below. - arn String
- ARN of the usage plan.
- description String
- Description of a usage plan.
- name String
- Name of the usage plan.
- product
Code String - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota
Settings UsagePlan Quota Settings - Quota settings of the usage plan. See
quotaSettingsBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throttle
Settings UsagePlan Throttle Settings - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api
Stages UsagePlan Api Stage[] - Associated API stages of the usage plan. See
apiStagesBlock below. - arn string
- ARN of the usage plan.
- description string
- Description of a usage plan.
- name string
- Name of the usage plan.
- product
Code string - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota
Settings UsagePlan Quota Settings - Quota settings of the usage plan. See
quotaSettingsBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throttle
Settings UsagePlan Throttle Settings - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api_
stages Sequence[UsagePlan Api Stage Args] - Associated API stages of the usage plan. See
apiStagesBlock below. - arn str
- ARN of the usage plan.
- description str
- Description of a usage plan.
- name str
- Name of the usage plan.
- product_
code str - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota_
settings UsagePlan Quota Settings Args - Quota settings of the usage plan. See
quotaSettingsBlock below. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throttle_
settings UsagePlan Throttle Settings Args - Throttling limits of the usage plan. See
throttleSettingsBlock below.
- api
Stages List<Property Map> - Associated API stages of the usage plan. See
apiStagesBlock below. - arn String
- ARN of the usage plan.
- description String
- Description of a usage plan.
- name String
- Name of the usage plan.
- product
Code String - AWS Marketplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
- quota
Settings Property Map - Quota settings of the usage plan. See
quotaSettingsBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throttle
Settings Property Map - Throttling limits of the usage plan. See
throttleSettingsBlock below.
Supporting Types
UsagePlanApiStage, UsagePlanApiStageArgs
- Api
Id string - API ID of the associated API stage in a usage plan.
- Stage string
API stage name of the associated API stage in a usage plan.
The following arguments are optional:
- Throttles
List<Usage
Plan Api Stage Throttle> - Throttling limits applied to the API stage. See
throttleBlock below.
- Api
Id string - API ID of the associated API stage in a usage plan.
- Stage string
API stage name of the associated API stage in a usage plan.
The following arguments are optional:
- Throttles
[]Usage
Plan Api Stage Throttle - Throttling limits applied to the API stage. See
throttleBlock below.
- api_
id string - API ID of the associated API stage in a usage plan.
- stage string
API stage name of the associated API stage in a usage plan.
The following arguments are optional:
- throttles list(object)
- Throttling limits applied to the API stage. See
throttleBlock below.
- api
Id String - API ID of the associated API stage in a usage plan.
- stage String
API stage name of the associated API stage in a usage plan.
The following arguments are optional:
- throttles
List<Usage
Plan Api Stage Throttle> - Throttling limits applied to the API stage. See
throttleBlock below.
- api
Id string - API ID of the associated API stage in a usage plan.
- stage string
API stage name of the associated API stage in a usage plan.
The following arguments are optional:
- throttles
Usage
Plan Api Stage Throttle[] - Throttling limits applied to the API stage. See
throttleBlock below.
- api_
id str - API ID of the associated API stage in a usage plan.
- stage str
API stage name of the associated API stage in a usage plan.
The following arguments are optional:
- throttles
Sequence[Usage
Plan Api Stage Throttle] - Throttling limits applied to the API stage. See
throttleBlock below.
- api
Id String - API ID of the associated API stage in a usage plan.
- stage String
API stage name of the associated API stage in a usage plan.
The following arguments are optional:
- throttles List<Property Map>
- Throttling limits applied to the API stage. See
throttleBlock below.
UsagePlanApiStageThrottle, UsagePlanApiStageThrottleArgs
- Path string
Method to apply the throttle settings for. Specify the path and method, for example
/test/GET.The following arguments are optional:
- Burst
Limit int - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- Rate
Limit double - API request steady-state rate limit.
- Path string
Method to apply the throttle settings for. Specify the path and method, for example
/test/GET.The following arguments are optional:
- Burst
Limit int - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- Rate
Limit float64 - API request steady-state rate limit.
- path string
Method to apply the throttle settings for. Specify the path and method, for example
/test/GET.The following arguments are optional:
- burst_
limit number - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate_
limit number - API request steady-state rate limit.
- path String
Method to apply the throttle settings for. Specify the path and method, for example
/test/GET.The following arguments are optional:
- burst
Limit Integer - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate
Limit Double - API request steady-state rate limit.
- path string
Method to apply the throttle settings for. Specify the path and method, for example
/test/GET.The following arguments are optional:
- burst
Limit number - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate
Limit number - API request steady-state rate limit.
- path str
Method to apply the throttle settings for. Specify the path and method, for example
/test/GET.The following arguments are optional:
- burst_
limit int - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate_
limit float - API request steady-state rate limit.
- path String
Method to apply the throttle settings for. Specify the path and method, for example
/test/GET.The following arguments are optional:
- burst
Limit Number - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate
Limit Number - API request steady-state rate limit.
UsagePlanQuotaSettings, UsagePlanQuotaSettingsArgs
UsagePlanThrottleSettings, UsagePlanThrottleSettingsArgs
- Burst
Limit int - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- Rate
Limit double - API request steady-state rate limit.
- Burst
Limit int - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- Rate
Limit float64 - API request steady-state rate limit.
- burst_
limit number - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate_
limit number - API request steady-state rate limit.
- burst
Limit Integer - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate
Limit Double - API request steady-state rate limit.
- burst
Limit number - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate
Limit number - API request steady-state rate limit.
- burst_
limit int - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate_
limit float - API request steady-state rate limit.
- burst
Limit Number - API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
- rate
Limit Number - API request steady-state rate limit.
Import
Using pulumi import, import AWS API Gateway Usage Plan using the id. For example:
$ pulumi import aws:apigateway/usagePlan:UsagePlan myusageplan <usage_plan_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Aug 13, 2026 by Pulumi