com.pulumi.awsnative.cassandra.kotlin.outputs.TableReplicaSpecification.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.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(),
)
}
}