![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.apigateway.kotlin.outputs.UsagePlanThrottleSettings.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.apigateway.kotlin.outputs
import kotlin.Double
import kotlin.Int
import kotlin.Suppress
/**
* ``ThrottleSettings`` is a property of the [AWS::ApiGateway::UsagePlan](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html) resource that specifies the overall request rate (average requests per second) and burst capacity when users call your REST APIs.
* @property burstLimit The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
* @property rateLimit The API target request rate limit.
*/
public data class UsagePlanThrottleSettings(
public val burstLimit: Int? = null,
public val rateLimit: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apigateway.outputs.UsagePlanThrottleSettings): UsagePlanThrottleSettings = UsagePlanThrottleSettings(
burstLimit = javaType.burstLimit().map({ args0 -> args0 }).orElse(null),
rateLimit = javaType.rateLimit().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy