
com.pulumi.awsnative.cassandra.kotlin.outputs.TableAutoScalingSpecification.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.Suppress
/**
* Represents the read and write settings used for AutoScaling.
* @property readCapacityAutoScaling The auto scaling settings for the table's read capacity.
* @property writeCapacityAutoScaling The auto scaling settings for the table's write capacity.
*/
public data class TableAutoScalingSpecification(
public val readCapacityAutoScaling: TableAutoScalingSetting? = null,
public val writeCapacityAutoScaling: TableAutoScalingSetting? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cassandra.outputs.TableAutoScalingSpecification): TableAutoScalingSpecification = TableAutoScalingSpecification(
readCapacityAutoScaling = javaType.readCapacityAutoScaling().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cassandra.kotlin.outputs.TableAutoScalingSetting.Companion.toKotlin(args0)
})
}).orElse(null),
writeCapacityAutoScaling = javaType.writeCapacityAutoScaling().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cassandra.kotlin.outputs.TableAutoScalingSetting.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy