com.pulumi.gcp.networksecurity.kotlin.inputs.AuthzPolicyHttpRuleFromSourceResourceArgs.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.networksecurity.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networksecurity.inputs.AuthzPolicyHttpRuleFromSourceResourceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property iamServiceAccount An IAM service account to match against the source service account of the VM sending the request.
* Structure is documented below.
* @property tagValueIdSet A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request.
* Structure is documented below.
*/
public data class AuthzPolicyHttpRuleFromSourceResourceArgs(
public val iamServiceAccount: Output? =
null,
public val tagValueIdSet: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networksecurity.inputs.AuthzPolicyHttpRuleFromSourceResourceArgs =
com.pulumi.gcp.networksecurity.inputs.AuthzPolicyHttpRuleFromSourceResourceArgs.builder()
.iamServiceAccount(iamServiceAccount?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tagValueIdSet(tagValueIdSet?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AuthzPolicyHttpRuleFromSourceResourceArgs].
*/
@PulumiTagMarker
public class AuthzPolicyHttpRuleFromSourceResourceArgsBuilder internal constructor() {
private var iamServiceAccount: Output? =
null
private var tagValueIdSet: Output? = null
/**
* @param value An IAM service account to match against the source service account of the VM sending the request.
* Structure is documented below.
*/
@JvmName("wxcuuojujyubcejr")
public suspend fun iamServiceAccount(`value`: Output) {
this.iamServiceAccount = value
}
/**
* @param value A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request.
* Structure is documented below.
*/
@JvmName("rsojdgdqteoctjhu")
public suspend fun tagValueIdSet(`value`: Output) {
this.tagValueIdSet = value
}
/**
* @param value An IAM service account to match against the source service account of the VM sending the request.
* Structure is documented below.
*/
@JvmName("fmilsddxdhoscqea")
public suspend fun iamServiceAccount(`value`: AuthzPolicyHttpRuleFromSourceResourceIamServiceAccountArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iamServiceAccount = mapped
}
/**
* @param argument An IAM service account to match against the source service account of the VM sending the request.
* Structure is documented below.
*/
@JvmName("hbqekxjehmdjsrpn")
public suspend fun iamServiceAccount(argument: suspend AuthzPolicyHttpRuleFromSourceResourceIamServiceAccountArgsBuilder.() -> Unit) {
val toBeMapped =
AuthzPolicyHttpRuleFromSourceResourceIamServiceAccountArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.iamServiceAccount = mapped
}
/**
* @param value A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request.
* Structure is documented below.
*/
@JvmName("bgtgaplalxfqvjur")
public suspend fun tagValueIdSet(`value`: AuthzPolicyHttpRuleFromSourceResourceTagValueIdSetArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tagValueIdSet = mapped
}
/**
* @param argument A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request.
* Structure is documented below.
*/
@JvmName("qehcfyoolipwalhj")
public suspend fun tagValueIdSet(argument: suspend AuthzPolicyHttpRuleFromSourceResourceTagValueIdSetArgsBuilder.() -> Unit) {
val toBeMapped = AuthzPolicyHttpRuleFromSourceResourceTagValueIdSetArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.tagValueIdSet = mapped
}
internal fun build(): AuthzPolicyHttpRuleFromSourceResourceArgs =
AuthzPolicyHttpRuleFromSourceResourceArgs(
iamServiceAccount = iamServiceAccount,
tagValueIdSet = tagValueIdSet,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy