
com.pulumi.awsnative.wisdom.kotlin.inputs.KnowledgeBaseServerSideEncryptionConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.wisdom.kotlin.inputs
import com.pulumi.awsnative.wisdom.inputs.KnowledgeBaseServerSideEncryptionConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property kmsKeyId The customer managed key used for encryption.
* This customer managed key must have a policy that allows `kms:CreateGrant` and `kms:DescribeKey` permissions to the IAM identity using the key to invoke Wisdom.
* For more information about setting up a customer managed key for Wisdom, see [Enable Amazon Connect Wisdom for your instance](https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html) . For information about valid ID values, see [Key identifiers (KeyId)](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id) .
*/
public data class KnowledgeBaseServerSideEncryptionConfigurationArgs(
public val kmsKeyId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.wisdom.inputs.KnowledgeBaseServerSideEncryptionConfigurationArgs =
com.pulumi.awsnative.wisdom.inputs.KnowledgeBaseServerSideEncryptionConfigurationArgs.builder()
.kmsKeyId(kmsKeyId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KnowledgeBaseServerSideEncryptionConfigurationArgs].
*/
@PulumiTagMarker
public class KnowledgeBaseServerSideEncryptionConfigurationArgsBuilder internal constructor() {
private var kmsKeyId: Output? = null
/**
* @param value The customer managed key used for encryption.
* This customer managed key must have a policy that allows `kms:CreateGrant` and `kms:DescribeKey` permissions to the IAM identity using the key to invoke Wisdom.
* For more information about setting up a customer managed key for Wisdom, see [Enable Amazon Connect Wisdom for your instance](https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html) . For information about valid ID values, see [Key identifiers (KeyId)](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id) .
*/
@JvmName("heerfgykaegplamo")
public suspend fun kmsKeyId(`value`: Output) {
this.kmsKeyId = value
}
/**
* @param value The customer managed key used for encryption.
* This customer managed key must have a policy that allows `kms:CreateGrant` and `kms:DescribeKey` permissions to the IAM identity using the key to invoke Wisdom.
* For more information about setting up a customer managed key for Wisdom, see [Enable Amazon Connect Wisdom for your instance](https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html) . For information about valid ID values, see [Key identifiers (KeyId)](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id) .
*/
@JvmName("cwlxvkuhavtqahgo")
public suspend fun kmsKeyId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKeyId = mapped
}
internal fun build(): KnowledgeBaseServerSideEncryptionConfigurationArgs =
KnowledgeBaseServerSideEncryptionConfigurationArgs(
kmsKeyId = kmsKeyId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy