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

com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessGroupSseSpecificationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ec2.kotlin.inputs

import com.pulumi.awsnative.ec2.inputs.VerifiedAccessGroupSseSpecificationArgs.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 VerifiedAccessGroupSseSpecificationArgs(
    public val customerManagedKeyEnabled: Output? = null,
    public val kmsKeyArn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.VerifiedAccessGroupSseSpecificationArgs =
        com.pulumi.awsnative.ec2.inputs.VerifiedAccessGroupSseSpecificationArgs.builder()
            .customerManagedKeyEnabled(customerManagedKeyEnabled?.applyValue({ args0 -> args0 }))
            .kmsKeyArn(kmsKeyArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VerifiedAccessGroupSseSpecificationArgs].
 */
@PulumiTagMarker
public class VerifiedAccessGroupSseSpecificationArgsBuilder 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("bivlhpksnljmgipj")
    public suspend fun customerManagedKeyEnabled(`value`: Output) {
        this.customerManagedKeyEnabled = value
    }

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

    /**
     * @param value Whether to encrypt the policy with the provided key or disable encryption
     */
    @JvmName("flnqgfwejsgqifyi")
    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("pqpnetbffblfcfju")
    public suspend fun kmsKeyArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyArn = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy