com.pulumi.cloudflare.kotlin.inputs.AccessPolicyExcludeGithubArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.AccessPolicyExcludeGithubArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property identityProviderId The ID of your Github identity provider.
* @property name The name of the organization.
* @property teams The teams that should be matched.
*/
public data class AccessPolicyExcludeGithubArgs(
public val identityProviderId: Output? = null,
public val name: Output? = null,
public val teams: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.AccessPolicyExcludeGithubArgs =
com.pulumi.cloudflare.inputs.AccessPolicyExcludeGithubArgs.builder()
.identityProviderId(identityProviderId?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.teams(teams?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AccessPolicyExcludeGithubArgs].
*/
@PulumiTagMarker
public class AccessPolicyExcludeGithubArgsBuilder internal constructor() {
private var identityProviderId: Output? = null
private var name: Output? = null
private var teams: Output>? = null
/**
* @param value The ID of your Github identity provider.
*/
@JvmName("wyqpjpawdlcuiugm")
public suspend fun identityProviderId(`value`: Output) {
this.identityProviderId = value
}
/**
* @param value The name of the organization.
*/
@JvmName("fcyachcbhbjeepxo")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The teams that should be matched.
*/
@JvmName("nwdcldyvumdxetsv")
public suspend fun teams(`value`: Output>) {
this.teams = value
}
@JvmName("cywtrhitofcimfeo")
public suspend fun teams(vararg values: Output) {
this.teams = Output.all(values.asList())
}
/**
* @param values The teams that should be matched.
*/
@JvmName("exsbiwfolxjwynmf")
public suspend fun teams(values: List