All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.dynamodb.kotlin.outputs.TableGlobalSecondaryIndexOnDemandThroughput.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@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 TableGlobalSecondaryIndexOnDemandThroughput(
    public val maxReadRequestUnits: Int? = null,
    public val maxWriteRequestUnits: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.dynamodb.outputs.TableGlobalSecondaryIndexOnDemandThroughput): TableGlobalSecondaryIndexOnDemandThroughput = TableGlobalSecondaryIndexOnDemandThroughput(
            maxReadRequestUnits = javaType.maxReadRequestUnits().map({ args0 -> args0 }).orElse(null),
            maxWriteRequestUnits = javaType.maxWriteRequestUnits().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy