
com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessEndpointSseSpecificationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.VerifiedAccessEndpointSseSpecificationArgs.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 VerifiedAccessEndpointSseSpecificationArgs(
public val customerManagedKeyEnabled: Output? = null,
public val kmsKeyArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.VerifiedAccessEndpointSseSpecificationArgs = com.pulumi.awsnative.ec2.inputs.VerifiedAccessEndpointSseSpecificationArgs.builder()
.customerManagedKeyEnabled(customerManagedKeyEnabled?.applyValue({ args0 -> args0 }))
.kmsKeyArn(kmsKeyArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VerifiedAccessEndpointSseSpecificationArgs].
*/
@PulumiTagMarker
public class VerifiedAccessEndpointSseSpecificationArgsBuilder 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("biyhxcxghtahsmjq")
public suspend fun customerManagedKeyEnabled(`value`: Output) {
this.customerManagedKeyEnabled = value
}
/**
* @param value KMS Key Arn used to encrypt the group policy
*/
@JvmName("jisrmpwanqvmehtx")
public suspend fun kmsKeyArn(`value`: Output) {
this.kmsKeyArn = value
}
/**
* @param value Whether to encrypt the policy with the provided key or disable encryption
*/
@JvmName("etdvkrrrsijlhbkj")
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("jchfcjepvovyaemr")
public suspend fun kmsKeyArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKeyArn = mapped
}
internal fun build(): VerifiedAccessEndpointSseSpecificationArgs =
VerifiedAccessEndpointSseSpecificationArgs(
customerManagedKeyEnabled = customerManagedKeyEnabled,
kmsKeyArn = kmsKeyArn,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy