
com.pulumi.awsnative.connect.kotlin.inputs.InstanceStorageConfigEncryptionConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.inputs
import com.pulumi.awsnative.connect.inputs.InstanceStorageConfigEncryptionConfigArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.InstanceStorageConfigEncryptionType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property encryptionType The type of encryption.
* @property keyId The full ARN of the encryption key.
* > Be sure to provide the full ARN of the encryption key, not just the ID.
* >
* > Amazon Connect supports only KMS keys with the default key spec of [`SYMMETRIC_DEFAULT`](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-symmetric-default) .
*/
public data class InstanceStorageConfigEncryptionConfigArgs(
public val encryptionType: Output,
public val keyId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.InstanceStorageConfigEncryptionConfigArgs =
com.pulumi.awsnative.connect.inputs.InstanceStorageConfigEncryptionConfigArgs.builder()
.encryptionType(encryptionType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.keyId(keyId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InstanceStorageConfigEncryptionConfigArgs].
*/
@PulumiTagMarker
public class InstanceStorageConfigEncryptionConfigArgsBuilder internal constructor() {
private var encryptionType: Output? = null
private var keyId: Output? = null
/**
* @param value The type of encryption.
*/
@JvmName("nhpyitwosvvqmapc")
public suspend fun encryptionType(`value`: Output) {
this.encryptionType = value
}
/**
* @param value The full ARN of the encryption key.
* > Be sure to provide the full ARN of the encryption key, not just the ID.
* >
* > Amazon Connect supports only KMS keys with the default key spec of [`SYMMETRIC_DEFAULT`](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-symmetric-default) .
*/
@JvmName("kkxwqnglhqsilyia")
public suspend fun keyId(`value`: Output) {
this.keyId = value
}
/**
* @param value The type of encryption.
*/
@JvmName("xvxfuxubmxiujepw")
public suspend fun encryptionType(`value`: InstanceStorageConfigEncryptionType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.encryptionType = mapped
}
/**
* @param value The full ARN of the encryption key.
* > Be sure to provide the full ARN of the encryption key, not just the ID.
* >
* > Amazon Connect supports only KMS keys with the default key spec of [`SYMMETRIC_DEFAULT`](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-symmetric-default) .
*/
@JvmName("wnostywpsteuueuy")
public suspend fun keyId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.keyId = mapped
}
internal fun build(): InstanceStorageConfigEncryptionConfigArgs =
InstanceStorageConfigEncryptionConfigArgs(
encryptionType = encryptionType ?: throw PulumiNullFieldException("encryptionType"),
keyId = keyId ?: throw PulumiNullFieldException("keyId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy