com.pulumi.awsnative.dynamodb.kotlin.outputs.GlobalTableAttributeDefinition.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.dynamodb.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property attributeName A name for the attribute.
* @property attributeType The data type for the attribute, where:
* - `S` - the attribute is of type String
* - `N` - the attribute is of type Number
* - `B` - the attribute is of type Binary
*/
public data class GlobalTableAttributeDefinition(
public val attributeName: String,
public val attributeType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.dynamodb.outputs.GlobalTableAttributeDefinition): GlobalTableAttributeDefinition = GlobalTableAttributeDefinition(
attributeName = javaType.attributeName(),
attributeType = javaType.attributeType(),
)
}
}