com.pulumi.gcp.folder.kotlin.inputs.AccessApprovalSettingsEnrolledServiceArgs.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.folder.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.folder.inputs.AccessApprovalSettingsEnrolledServiceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property cloudProduct The product for which Access Approval will be enrolled. Allowed values are listed (case-sensitive):
* * all
* * App Engine
* * BigQuery
* * Cloud Bigtable
* * Cloud Key Management Service
* * Compute Engine
* * Cloud Dataflow
* * Cloud Identity and Access Management
* * Cloud Pub/Sub
* * Cloud Storage
* * Persistent Disk
* Note: These values are supported as input, but considered a legacy format:
* * all
* * appengine.googleapis.com
* * bigquery.googleapis.com
* * bigtable.googleapis.com
* * cloudkms.googleapis.com
* * compute.googleapis.com
* * dataflow.googleapis.com
* * iam.googleapis.com
* * pubsub.googleapis.com
* * storage.googleapis.com
* @property enrollmentLevel The enrollment level of the service.
* Default value is `BLOCK_ALL`.
* Possible values are: `BLOCK_ALL`.
* - - -
*/
public data class AccessApprovalSettingsEnrolledServiceArgs(
public val cloudProduct: Output,
public val enrollmentLevel: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.folder.inputs.AccessApprovalSettingsEnrolledServiceArgs =
com.pulumi.gcp.folder.inputs.AccessApprovalSettingsEnrolledServiceArgs.builder()
.cloudProduct(cloudProduct.applyValue({ args0 -> args0 }))
.enrollmentLevel(enrollmentLevel?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessApprovalSettingsEnrolledServiceArgs].
*/
@PulumiTagMarker
public class AccessApprovalSettingsEnrolledServiceArgsBuilder internal constructor() {
private var cloudProduct: Output? = null
private var enrollmentLevel: Output? = null
/**
* @param value The product for which Access Approval will be enrolled. Allowed values are listed (case-sensitive):
* * all
* * App Engine
* * BigQuery
* * Cloud Bigtable
* * Cloud Key Management Service
* * Compute Engine
* * Cloud Dataflow
* * Cloud Identity and Access Management
* * Cloud Pub/Sub
* * Cloud Storage
* * Persistent Disk
* Note: These values are supported as input, but considered a legacy format:
* * all
* * appengine.googleapis.com
* * bigquery.googleapis.com
* * bigtable.googleapis.com
* * cloudkms.googleapis.com
* * compute.googleapis.com
* * dataflow.googleapis.com
* * iam.googleapis.com
* * pubsub.googleapis.com
* * storage.googleapis.com
*/
@JvmName("qivdgdeyrbxolawn")
public suspend fun cloudProduct(`value`: Output) {
this.cloudProduct = value
}
/**
* @param value The enrollment level of the service.
* Default value is `BLOCK_ALL`.
* Possible values are: `BLOCK_ALL`.
* - - -
*/
@JvmName("ytevwpvsncecojqn")
public suspend fun enrollmentLevel(`value`: Output) {
this.enrollmentLevel = value
}
/**
* @param value The product for which Access Approval will be enrolled. Allowed values are listed (case-sensitive):
* * all
* * App Engine
* * BigQuery
* * Cloud Bigtable
* * Cloud Key Management Service
* * Compute Engine
* * Cloud Dataflow
* * Cloud Identity and Access Management
* * Cloud Pub/Sub
* * Cloud Storage
* * Persistent Disk
* Note: These values are supported as input, but considered a legacy format:
* * all
* * appengine.googleapis.com
* * bigquery.googleapis.com
* * bigtable.googleapis.com
* * cloudkms.googleapis.com
* * compute.googleapis.com
* * dataflow.googleapis.com
* * iam.googleapis.com
* * pubsub.googleapis.com
* * storage.googleapis.com
*/
@JvmName("ngbdkedjwhuvpjcr")
public suspend fun cloudProduct(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.cloudProduct = mapped
}
/**
* @param value The enrollment level of the service.
* Default value is `BLOCK_ALL`.
* Possible values are: `BLOCK_ALL`.
* - - -
*/
@JvmName("ldmgioqlgbilqcou")
public suspend fun enrollmentLevel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enrollmentLevel = mapped
}
internal fun build(): AccessApprovalSettingsEnrolledServiceArgs =
AccessApprovalSettingsEnrolledServiceArgs(
cloudProduct = cloudProduct ?: throw PulumiNullFieldException("cloudProduct"),
enrollmentLevel = enrollmentLevel,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy