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

com.pulumi.awsnative.ec2.kotlin.inputs.SseSpecificationPropertiesArgs.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.ec2.kotlin.inputs

import com.pulumi.awsnative.ec2.inputs.SseSpecificationPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The configuration options for customer provided KMS encryption.
 * @property customerManagedKeyEnabled Whether to encrypt the policy with the provided key or disable encryption
 * @property kmsKeyArn KMS Key Arn used to encrypt the group policy
 */
public data class SseSpecificationPropertiesArgs(
    public val customerManagedKeyEnabled: Output? = null,
    public val kmsKeyArn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.SseSpecificationPropertiesArgs =
        com.pulumi.awsnative.ec2.inputs.SseSpecificationPropertiesArgs.builder()
            .customerManagedKeyEnabled(customerManagedKeyEnabled?.applyValue({ args0 -> args0 }))
            .kmsKeyArn(kmsKeyArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SseSpecificationPropertiesArgs].
 */
@PulumiTagMarker
public class SseSpecificationPropertiesArgsBuilder internal constructor() {
    private var customerManagedKeyEnabled: Output? = null

    private var kmsKeyArn: Output? = null

    /**
     * @param value Whether to encrypt the policy with the provided key or disable encryption
     */
    @JvmName("okmajidpnrxilchm")
    public suspend fun customerManagedKeyEnabled(`value`: Output) {
        this.customerManagedKeyEnabled = value
    }

    /**
     * @param value KMS Key Arn used to encrypt the group policy
     */
    @JvmName("gxodrsclrstjnjal")
    public suspend fun kmsKeyArn(`value`: Output) {
        this.kmsKeyArn = value
    }

    /**
     * @param value Whether to encrypt the policy with the provided key or disable encryption
     */
    @JvmName("ssgexsxflvkvanoq")
    public suspend fun customerManagedKeyEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customerManagedKeyEnabled = mapped
    }

    /**
     * @param value KMS Key Arn used to encrypt the group policy
     */
    @JvmName("aqhswxstvlsiskik")
    public suspend fun kmsKeyArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyArn = mapped
    }

    internal fun build(): SseSpecificationPropertiesArgs = SseSpecificationPropertiesArgs(
        customerManagedKeyEnabled = customerManagedKeyEnabled,
        kmsKeyArn = kmsKeyArn,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy