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

com.pulumi.awsnative.healthlake.kotlin.inputs.FhirDatastoreSseConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.healthlake.kotlin.inputs

import com.pulumi.awsnative.healthlake.inputs.FhirDatastoreSseConfigurationArgs.builder
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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * The server-side encryption key configuration for a customer provided encryption key.
 * @property kmsEncryptionConfig The server-side encryption key configuration for a customer provided encryption key (CMK).
 */
public data class FhirDatastoreSseConfigurationArgs(
    public val kmsEncryptionConfig: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.healthlake.inputs.FhirDatastoreSseConfigurationArgs =
        com.pulumi.awsnative.healthlake.inputs.FhirDatastoreSseConfigurationArgs.builder()
            .kmsEncryptionConfig(
                kmsEncryptionConfig.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [FhirDatastoreSseConfigurationArgs].
 */
@PulumiTagMarker
public class FhirDatastoreSseConfigurationArgsBuilder internal constructor() {
    private var kmsEncryptionConfig: Output? = null

    /**
     * @param value The server-side encryption key configuration for a customer provided encryption key (CMK).
     */
    @JvmName("iwslgkycjyjmcrsv")
    public suspend fun kmsEncryptionConfig(`value`: Output) {
        this.kmsEncryptionConfig = value
    }

    /**
     * @param value The server-side encryption key configuration for a customer provided encryption key (CMK).
     */
    @JvmName("alkpqvyyptoxxmky")
    public suspend fun kmsEncryptionConfig(`value`: FhirDatastoreKmsEncryptionConfigArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.kmsEncryptionConfig = mapped
    }

    /**
     * @param argument The server-side encryption key configuration for a customer provided encryption key (CMK).
     */
    @JvmName("abvrgxkgvjxktfgx")
    public suspend fun kmsEncryptionConfig(argument: suspend FhirDatastoreKmsEncryptionConfigArgsBuilder.() -> Unit) {
        val toBeMapped = FhirDatastoreKmsEncryptionConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.kmsEncryptionConfig = mapped
    }

    internal fun build(): FhirDatastoreSseConfigurationArgs = FhirDatastoreSseConfigurationArgs(
        kmsEncryptionConfig = kmsEncryptionConfig ?: throw PulumiNullFieldException("kmsEncryptionConfig"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy