
com.pulumi.awsnative.nimblestudio.kotlin.outputs.StudioEncryptionConfiguration.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.nimblestudio.kotlin.outputs
import com.pulumi.awsnative.nimblestudio.kotlin.enums.StudioEncryptionConfigurationKeyType
import kotlin.String
import kotlin.Suppress
/**
* Configuration of the encryption method that is used for the studio.
* @property keyArn The ARN for a KMS key that is used to encrypt studio data.
* @property keyType The type of KMS key that is used to encrypt studio data.
*/
public data class StudioEncryptionConfiguration(
public val keyArn: String? = null,
public val keyType: StudioEncryptionConfigurationKeyType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.nimblestudio.outputs.StudioEncryptionConfiguration): StudioEncryptionConfiguration = StudioEncryptionConfiguration(
keyArn = javaType.keyArn().map({ args0 -> args0 }).orElse(null),
keyType = javaType.keyType().let({ args0 ->
com.pulumi.awsnative.nimblestudio.kotlin.enums.StudioEncryptionConfigurationKeyType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy