All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.dynamodb.kotlin.outputs.TableAttributeDefinition.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.dynamodb.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Represents an attribute for describing the schema for the table and indexes.
 * @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 TableAttributeDefinition(
    public val attributeName: String,
    public val attributeType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.dynamodb.outputs.TableAttributeDefinition): TableAttributeDefinition = TableAttributeDefinition(
            attributeName = javaType.attributeName(),
            attributeType = javaType.attributeType(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy