
com.pulumi.awsnative.timestream.kotlin.outputs.SchemaProperties.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.timestream.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* A Schema specifies the expected data model of the table.
* @property compositePartitionKey A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
*/
public data class SchemaProperties(
public val compositePartitionKey: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.SchemaProperties): SchemaProperties = SchemaProperties(
compositePartitionKey = javaType.compositePartitionKey().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.timestream.kotlin.outputs.TablePartitionKey.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy