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

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

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

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

import com.pulumi.awsnative.dynamodb.kotlin.enums.TableKinesisStreamSpecificationApproximateCreationDateTimePrecision
import kotlin.String
import kotlin.Suppress

/**
 * The Kinesis Data Streams configuration for the specified table.
 * @property approximateCreationDateTimePrecision The precision for the time and date that the stream was created.
 * @property streamArn The ARN for a specific Kinesis data stream.
 *  Length Constraints: Minimum length of 37. Maximum length of 1024.
 */
public data class TableKinesisStreamSpecification(
    public val approximateCreationDateTimePrecision: TableKinesisStreamSpecificationApproximateCreationDateTimePrecision? = null,
    public val streamArn: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.dynamodb.outputs.TableKinesisStreamSpecification): TableKinesisStreamSpecification = TableKinesisStreamSpecification(
            approximateCreationDateTimePrecision = javaType.approximateCreationDateTimePrecision().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.dynamodb.kotlin.enums.TableKinesisStreamSpecificationApproximateCreationDateTimePrecision.Companion.toKotlin(args0)
                })
            }).orElse(null),
            streamArn = javaType.streamArn(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy