com.pulumi.azure.lighthouse.kotlin.inputs.DefinitionEligibleAuthorizationJustInTimeAccessPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.lighthouse.kotlin.inputs
import com.pulumi.azure.lighthouse.inputs.DefinitionEligibleAuthorizationJustInTimeAccessPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property approvers An `approver` block as defined below.
* @property maximumActivationDuration The maximum access duration in ISO 8601 format for just-in-time access requests. Defaults to `PT8H`.
* @property multiFactorAuthProvider The multi-factor authorization provider to be used for just-in-time access requests. Possible value is `Azure`.
* > **Note:** When this property isn't set, it would be set to `None`.
*/
public data class DefinitionEligibleAuthorizationJustInTimeAccessPolicyArgs(
public val approvers:
Output>? = null,
public val maximumActivationDuration: Output? = null,
public val multiFactorAuthProvider: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.lighthouse.inputs.DefinitionEligibleAuthorizationJustInTimeAccessPolicyArgs =
com.pulumi.azure.lighthouse.inputs.DefinitionEligibleAuthorizationJustInTimeAccessPolicyArgs.builder()
.approvers(
approvers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.maximumActivationDuration(maximumActivationDuration?.applyValue({ args0 -> args0 }))
.multiFactorAuthProvider(multiFactorAuthProvider?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DefinitionEligibleAuthorizationJustInTimeAccessPolicyArgs].
*/
@PulumiTagMarker
public class DefinitionEligibleAuthorizationJustInTimeAccessPolicyArgsBuilder internal constructor() {
private var approvers:
Output>? = null
private var maximumActivationDuration: Output? = null
private var multiFactorAuthProvider: Output? = null
/**
* @param value An `approver` block as defined below.
*/
@JvmName("kqxpjrjxsrpkkugl")
public suspend
fun approvers(`value`: Output>) {
this.approvers = value
}
@JvmName("fqedgvajwtcsyqnx")
public suspend fun approvers(
vararg
values: Output,
) {
this.approvers = Output.all(values.asList())
}
/**
* @param values An `approver` block as defined below.
*/
@JvmName("uobafrmljticbhjk")
public suspend
fun approvers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy