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

com.pulumi.gcp.privilegedaccessmanager.kotlin.outputs.GetEntitlementApprovalWorkflowManualApprovalStep.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.13.1.0
Show newest version
@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.
 */
public data class GetEntitlementApprovalWorkflowManualApprovalStep(
    public val approvalsNeeded: Int,
    public val approverEmailRecipients: List,
    public val approvers: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.privilegedaccessmanager.outputs.GetEntitlementApprovalWorkflowManualApprovalStep): GetEntitlementApprovalWorkflowManualApprovalStep =
            GetEntitlementApprovalWorkflowManualApprovalStep(
                approvalsNeeded = javaType.approvalsNeeded(),
                approverEmailRecipients = javaType.approverEmailRecipients().map({ args0 -> args0 }),
                approvers = javaType.approvers().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.privilegedaccessmanager.kotlin.outputs.GetEntitlementApprovalWorkflowManualApprovalStepApprover.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy