![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.timestream.kotlin.outputs.GetDatabaseResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The `arn` of the database.
* @property kmsKeyId The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class GetDatabaseResult(
public val arn: String? = null,
public val kmsKeyId: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.GetDatabaseResult): GetDatabaseResult = GetDatabaseResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
kmsKeyId = javaType.kmsKeyId().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy