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

com.pulumi.awsnative.dynamodb.kotlin.outputs.TableProvisionedThroughput.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.dynamodb.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 * Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits``. For more information about the contents of a provisioned throughput structure, see [Table ProvisionedThroughput](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html).
 * @property readCapacityUnits The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ``ThrottlingException``. For more information, see [Specifying Read and Write Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) in the *Amazon DynamoDB Developer Guide*.
 *  If read/write capacity mode is ``PAY_PER_REQUEST`` the value is set to 0.
 * @property writeCapacityUnits The maximum number of writes consumed per second before DynamoDB returns a ``ThrottlingException``. For more information, see [Specifying Read and Write Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) in the *Amazon DynamoDB Developer Guide*.
 *  If read/write capacity mode is ``PAY_PER_REQUEST`` the value is set to 0.
 */
public data class TableProvisionedThroughput(
    public val readCapacityUnits: Int,
    public val writeCapacityUnits: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.dynamodb.outputs.TableProvisionedThroughput): TableProvisionedThroughput = TableProvisionedThroughput(
            readCapacityUnits = javaType.readCapacityUnits(),
            writeCapacityUnits = javaType.writeCapacityUnits(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy