![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cassandra.kotlin.outputs.TableReplicaSpecification.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cassandra.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Represents replica specifications.
* @property readCapacityAutoScaling The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.
* @property readCapacityUnits The provisioned read capacity units for the multi-Region table in the specified AWS Region.
* @property region The AWS Region.
*/
public data class TableReplicaSpecification(
public val readCapacityAutoScaling: TableAutoScalingSetting? = null,
public val readCapacityUnits: Int? = null,
public val region: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cassandra.outputs.TableReplicaSpecification): TableReplicaSpecification = TableReplicaSpecification(
readCapacityAutoScaling = javaType.readCapacityAutoScaling().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cassandra.kotlin.outputs.TableAutoScalingSetting.Companion.toKotlin(args0)
})
}).orElse(null),
readCapacityUnits = javaType.readCapacityUnits().map({ args0 -> args0 }).orElse(null),
region = javaType.region(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy