
com.pulumi.awsnative.dynamodb.kotlin.outputs.GlobalTableKinesisStreamSpecification.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.dynamodb.kotlin.outputs
import com.pulumi.awsnative.dynamodb.kotlin.enums.GlobalTableKinesisStreamSpecificationApproximateCreationDateTimePrecision
import kotlin.String
import kotlin.Suppress
/**
*
* @property approximateCreationDateTimePrecision The precision for the time and date that the stream was created.
* @property streamArn The ARN for a specific Kinesis data stream.
*/
public data class GlobalTableKinesisStreamSpecification(
public val approximateCreationDateTimePrecision: GlobalTableKinesisStreamSpecificationApproximateCreationDateTimePrecision? = null,
public val streamArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.dynamodb.outputs.GlobalTableKinesisStreamSpecification): GlobalTableKinesisStreamSpecification = GlobalTableKinesisStreamSpecification(
approximateCreationDateTimePrecision = javaType.approximateCreationDateTimePrecision().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.dynamodb.kotlin.enums.GlobalTableKinesisStreamSpecificationApproximateCreationDateTimePrecision.Companion.toKotlin(args0)
})
}).orElse(null),
streamArn = javaType.streamArn(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy