All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.connect.kotlin.outputs.InstanceStorageConfigEncryptionConfig.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.outputs

import com.pulumi.awsnative.connect.kotlin.enums.InstanceStorageConfigEncryptionType
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 InstanceStorageConfigEncryptionConfig(
    public val encryptionType: InstanceStorageConfigEncryptionType,
    public val keyId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.InstanceStorageConfigEncryptionConfig): InstanceStorageConfigEncryptionConfig = InstanceStorageConfigEncryptionConfig(
            encryptionType = javaType.encryptionType().let({ args0 ->
                com.pulumi.awsnative.connect.kotlin.enums.InstanceStorageConfigEncryptionType.Companion.toKotlin(args0)
            }),
            keyId = javaType.keyId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy