CfnUsagePlanMixinProps
- class aws_cdk.mixins_preview.aws_apigateway.mixins.CfnUsagePlanMixinProps(*, api_stages=None, description=None, quota=None, tags=None, throttle=None, usage_plan_name=None)
Bases:
objectProperties for CfnUsagePlanPropsMixin.
- Parameters:
api_stages (
Union[IResolvable,Sequence[Union[IResolvable,ApiStageProperty,Dict[str,Any]]],None]) – The associated API stages of a usage plan.description (
Optional[str]) – The description of a usage plan.quota (
Union[IResolvable,QuotaSettingsProperty,Dict[str,Any],None]) – The target maximum number of permitted requests per a given unit time interval.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The collection of tags. Each tag element is associated with a given resource.throttle (
Union[IResolvable,ThrottleSettingsProperty,Dict[str,Any],None]) – A map containing method level throttling information for API stage in a usage plan.usage_plan_name (
Optional[str]) – The name of a usage plan.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apigateway import mixins as apigateway_mixins cfn_usage_plan_mixin_props = apigateway_mixins.CfnUsagePlanMixinProps( api_stages=[apigateway_mixins.CfnUsagePlanPropsMixin.ApiStageProperty( api_id="apiId", stage="stage", throttle={ "throttle_key": apigateway_mixins.CfnUsagePlanPropsMixin.ThrottleSettingsProperty( burst_limit=123, rate_limit=123 ) } )], description="description", quota=apigateway_mixins.CfnUsagePlanPropsMixin.QuotaSettingsProperty( limit=123, offset=123, period="period" ), tags=[CfnTag( key="key", value="value" )], throttle=apigateway_mixins.CfnUsagePlanPropsMixin.ThrottleSettingsProperty( burst_limit=123, rate_limit=123 ), usage_plan_name="usagePlanName" )
Attributes
- api_stages
The associated API stages of a usage plan.
- description
The description of a usage plan.
- quota
The target maximum number of permitted requests per a given unit time interval.
- tags
The collection of tags.
Each tag element is associated with a given resource.
- throttle
A map containing method level throttling information for API stage in a usage plan.
- usage_plan_name
The name of a usage plan.