com.pulumi.gcp.privilegedaccessmanager.kotlin.outputs.EntitlementApprovalWorkflowManualApprovalsStep.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.privilegedaccessmanager.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property approvalsNeeded How many users from the above list need to approve.
* If there are not enough distinct users in the list above then the workflow
* will indefinitely block. Should always be greater than 0. Currently 1 is the only
* supported value.
* @property approverEmailRecipients Optional. Additional email addresses to be notified when a grant is pending approval.
* @property approvers The potential set of approvers in this step. This list should contain at only one entry.
* Structure is documented below.
*/
public data class EntitlementApprovalWorkflowManualApprovalsStep(
public val approvalsNeeded: Int? = null,
public val approverEmailRecipients: List? = null,
public val approvers: EntitlementApprovalWorkflowManualApprovalsStepApprovers,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.privilegedaccessmanager.outputs.EntitlementApprovalWorkflowManualApprovalsStep): EntitlementApprovalWorkflowManualApprovalsStep =
EntitlementApprovalWorkflowManualApprovalsStep(
approvalsNeeded = javaType.approvalsNeeded().map({ args0 -> args0 }).orElse(null),
approverEmailRecipients = javaType.approverEmailRecipients().map({ args0 -> args0 }),
approvers = javaType.approvers().let({ args0 ->
com.pulumi.gcp.privilegedaccessmanager.kotlin.outputs.EntitlementApprovalWorkflowManualApprovalsStepApprovers.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy