com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs.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.accesscontextmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property identities 'A list of identities that are allowed access through this `IngressPolicy`.
* To specify an identity or identity group, use the IAM v1 format
* specified [here](https://cloud.google.com/iam/docs/principal-identifiers.md#v1).
* The following prefixes are supprted: user, group, serviceAccount, principal, and principalSet.'
* @property identityType Specifies the type of identities that are allowed access from outside the
* perimeter. If left unspecified, then members of `identities` field will be
* allowed access.
* Possible values are: `IDENTITY_TYPE_UNSPECIFIED`, `ANY_IDENTITY`, `ANY_USER_ACCOUNT`, `ANY_SERVICE_ACCOUNT`.
* @property sources Sources that this `IngressPolicy` authorizes access from.
* Structure is documented below.
*/
public data class ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs(
public val identities: Output>? = null,
public val identityType: Output? = null,
public val sources: Output>? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs =
com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs.builder()
.identities(identities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.identityType(identityType?.applyValue({ args0 -> args0 }))
.sources(
sources?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs].
*/
@PulumiTagMarker
public class ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgsBuilder internal constructor() {
private var identities: Output>? = null
private var identityType: Output? = null
private var sources:
Output>? =
null
/**
* @param value 'A list of identities that are allowed access through this `IngressPolicy`.
* To specify an identity or identity group, use the IAM v1 format
* specified [here](https://cloud.google.com/iam/docs/principal-identifiers.md#v1).
* The following prefixes are supprted: user, group, serviceAccount, principal, and principalSet.'
*/
@JvmName("vmqpssalqrcpbixk")
public suspend fun identities(`value`: Output>) {
this.identities = value
}
@JvmName("qkmjkntvcfbofagi")
public suspend fun identities(vararg values: Output) {
this.identities = Output.all(values.asList())
}
/**
* @param values 'A list of identities that are allowed access through this `IngressPolicy`.
* To specify an identity or identity group, use the IAM v1 format
* specified [here](https://cloud.google.com/iam/docs/principal-identifiers.md#v1).
* The following prefixes are supprted: user, group, serviceAccount, principal, and principalSet.'
*/
@JvmName("qragoxcpjgjnrbdp")
public suspend fun identities(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy