com.pulumi.awsnative.synthetics.kotlin.outputs.CanaryS3Encryption.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.synthetics.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property encryptionMode Encryption mode for encrypting artifacts when uploading to S3. Valid values: SSE_S3 and SSE_KMS.
* @property kmsKeyArn KMS key Arn for encrypting artifacts when uploading to S3. You must specify KMS key Arn for SSE_KMS encryption mode only.
*/
public data class CanaryS3Encryption(
public val encryptionMode: String? = null,
public val kmsKeyArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.synthetics.outputs.CanaryS3Encryption): CanaryS3Encryption = CanaryS3Encryption(
encryptionMode = javaType.encryptionMode().map({ args0 -> args0 }).orElse(null),
kmsKeyArn = javaType.kmsKeyArn().map({ args0 -> args0 }).orElse(null),
)
}
}