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

com.pulumi.awsnative.healthlake.kotlin.outputs.FhirDatastoreKmsEncryptionConfig.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.healthlake.kotlin.outputs

import com.pulumi.awsnative.healthlake.kotlin.enums.FhirDatastoreKmsEncryptionConfigCmkType
import kotlin.String
import kotlin.Suppress

/**
 * The customer-managed-key (CMK) used when creating a Data Store. If a customer owned key is not specified, an AWS owned key will be used for encryption.
 * @property cmkType The type of customer-managed-key (CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
 * @property kmsKeyId The KMS encryption key id/alias used to encrypt the Data Store contents at rest.
 */
public data class FhirDatastoreKmsEncryptionConfig(
    public val cmkType: FhirDatastoreKmsEncryptionConfigCmkType,
    public val kmsKeyId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.healthlake.outputs.FhirDatastoreKmsEncryptionConfig): FhirDatastoreKmsEncryptionConfig = FhirDatastoreKmsEncryptionConfig(
            cmkType = javaType.cmkType().let({ args0 ->
                com.pulumi.awsnative.healthlake.kotlin.enums.FhirDatastoreKmsEncryptionConfigCmkType.Companion.toKotlin(args0)
            }),
            kmsKeyId = javaType.kmsKeyId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy