![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.outputs.SseSpecificationProperties.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* The configuration options for customer provided KMS encryption.
* @property customerManagedKeyEnabled Whether to encrypt the policy with the provided key or disable encryption
* @property kmsKeyArn KMS Key Arn used to encrypt the group policy
*/
public data class SseSpecificationProperties(
public val customerManagedKeyEnabled: Boolean? = null,
public val kmsKeyArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.SseSpecificationProperties): SseSpecificationProperties = SseSpecificationProperties(
customerManagedKeyEnabled = javaType.customerManagedKeyEnabled().map({ args0 ->
args0
}).orElse(null),
kmsKeyArn = javaType.kmsKeyArn().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy