![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kendra.kotlin.outputs.IndexCapacityUnitsConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kendra.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property queryCapacityUnits The amount of extra query capacity for an index and [GetQuerySuggestions](https://docs.aws.amazon.com/kendra/latest/dg/API_GetQuerySuggestions.html) capacity.
* A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.
* `GetQuerySuggestions` capacity is five times the provisioned query capacity for an index, or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries per second, and `GetQuerySuggestions` capacity has a base of 2.5 calls per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the `GetQuerySuggestions` capacity is 2.5 calls per second (higher than five times 0.2 queries per second).
* @property storageCapacityUnits The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.
*/
public data class IndexCapacityUnitsConfiguration(
public val queryCapacityUnits: Int,
public val storageCapacityUnits: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kendra.outputs.IndexCapacityUnitsConfiguration): IndexCapacityUnitsConfiguration = IndexCapacityUnitsConfiguration(
queryCapacityUnits = javaType.queryCapacityUnits(),
storageCapacityUnits = javaType.storageCapacityUnits(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy