com.pulumi.aws.dynamodb.kotlin.outputs.TableOnDemandThroughput.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.dynamodb.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property maxReadRequestUnits Maximum number of read request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
* @property maxWriteRequestUnits Maximum number of write request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
*/
public data class TableOnDemandThroughput(
public val maxReadRequestUnits: Int? = null,
public val maxWriteRequestUnits: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.dynamodb.outputs.TableOnDemandThroughput): TableOnDemandThroughput = TableOnDemandThroughput(
maxReadRequestUnits = javaType.maxReadRequestUnits().map({ args0 -> args0 }).orElse(null),
maxWriteRequestUnits = javaType.maxWriteRequestUnits().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy