com.pulumi.gcp.privilegedaccessmanager.kotlin.outputs.EntitlementApprovalWorkflow.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.Suppress
/**
*
* @property manualApprovals A manual approval workflow where users who are designated as approvers need to call the ApproveGrant/DenyGrant APIs for an Grant.
* The workflow can consist of multiple serial steps where each step defines who can act as Approver in that step and how many of those users should approve before the workflow moves to the next step.
* This can be used to create approval workflows such as
* * Require an approval from any user in a group G.
* * Require an approval from any k number of users from a Group G.
* * Require an approval from any user in a group G and then from a user U. etc.
* A single user might be part of `approvers` ACL for multiple steps in this workflow but they can only approve once and that approval will only be considered to satisfy the approval step at which it was granted.
* Structure is documented below.
*/
public data class EntitlementApprovalWorkflow(
public val manualApprovals: EntitlementApprovalWorkflowManualApprovals,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.privilegedaccessmanager.outputs.EntitlementApprovalWorkflow): EntitlementApprovalWorkflow = EntitlementApprovalWorkflow(
manualApprovals = javaType.manualApprovals().let({ args0 ->
com.pulumi.gcp.privilegedaccessmanager.kotlin.outputs.EntitlementApprovalWorkflowManualApprovals.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy